I have authenticated the user with oauth on both twitter & Google and have access_tokens.
(Using Python)
But,
How to get the information about this authenticated user ?
Eg:
Name, Age, Email, gender, etc.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For Twitter, I’d suggest using the tweepy library. It provides a nice Python API for accessing all the data you can get back from Twitter, such as user data.
If you want to do it yourself, you’d want to look at the docs for Twitter’s REST API, specifically the User resource. I don’t think you can get such personal information as age, email, gender from the API at all, however.