Created
November 19, 2013 17:14
-
-
Save iwek/7548872 to your computer and use it in GitHub Desktop.
Pinterest API to retrieve user information ( GET https://api.pinterest.com/v3/users/jessicamalba/?access_token=APIKEY )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "success", | |
"code": 0, | |
"message": "ok", | |
"data": { | |
"last_name": "Alba", | |
"domain_verified": false, | |
"following_count": 71, | |
"image_medium_url": "http://media-cache-ec0.pinimg.com/avatars/jessicamalba_1360689715_75.jpg", | |
"implicitly_followed_by_me": false, | |
"like_count": 86, | |
"has_password": true, | |
"full_name": "Jessica Alba", | |
"image_small_url": "http://media-cache-ec0.pinimg.com/avatars/jessicamalba_1360689715_30.jpg", | |
"gplus_url": null, | |
"id": "228135674782420098", | |
"first_name": "Jessica", | |
"domain_url": null, | |
"personalize_from_offsite_browsing": true, | |
"explicitly_followed_by_me": false, | |
"location": "", | |
"pins": [], | |
"is_partner": false, | |
"followed_by_me": false, | |
"type": "user", | |
"website_url": null, | |
"board_count": 25, | |
"username": "jessicamalba", | |
"repins_from": [], | |
"twitter_url": "http://twitter.com/jessicaalba", | |
"facebook_url": "https://www.facebook.com/JessicaAlba", | |
"pin_thumbnail_urls": [ | |
"http://media-cache-ak0.pinimg.com/75x75/69/22/d2/6922d232c173bc0365c5dca53e4f9ca2.jpg", | |
"http://media-cache-ak0.pinimg.com/75x75/f5/cc/43/f5cc433d7a4a0db9e089a52b45cbe9cf.jpg", | |
"http://media-cache-ec0.pinimg.com/75x75/4a/eb/24/4aeb246e66512e6e3fe3ae58bc1d059c.jpg", | |
"http://media-cache-ak0.pinimg.com/75x75/cb/ec/f5/cbecf542b307e1ff9179a42b58857bc9.jpg", | |
"http://media-cache-ak0.pinimg.com/75x75/88/43/9c/88439ccd06be145bd798569096255449.jpg" | |
], | |
"indexed": false, | |
"pin_count": 950, | |
"about": "", | |
"followed_boards": [], | |
"gender": "female", | |
"created_at": "Thu, 23 Feb 2012 19:17:59 +0000", | |
"low_engagement_board_count": 100, | |
"tag": null, | |
"image_large_url": "http://media-cache-ec0.pinimg.com/avatars/jessicamalba_1360689715_140.jpg", | |
"email_verified": true, | |
"debug": null, | |
"follower_count": 101697, | |
"blocked_by_me": false | |
} | |
} |
Hey how get username as you shown above?
I have access_token
& i am trying -
https://api.pinterest.com/v3/users/me/?access_token=**RetrievedAccessToken**
but response is like :
{
code = 2;
data = "";
"generated_at" = "Mon, 29 Jun 2015 12:52:45 +0000";
host = "coreapp-ngapi-969";
message = "Authentication failed.";
status = failure;
}
Do you know how to get username? or user profile information?
how i can get api access token for v3 , i need make search pin by python
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@techslides.. Please how do I get one (API Key)