Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get more user info #167

Open
ciprianmacovei opened this issue May 16, 2024 · 1 comment
Open

How to get more user info #167

ciprianmacovei opened this issue May 16, 2024 · 1 comment

Comments

@ciprianmacovei
Copy link

i use the user context so everything works as expected but :

api.generate_access_token("https://localhost/?oauth_token=oauth_token&oauth_verifier=oauth_verifier")
{'oauth_token': 'oauth_token',
'oauth_token_secret': 'oauth_token_secret',
'user_id': '123456',
'screen_name': 'screen name'}

I want to get the user profile pic URL

profile_image_url_https

how can I get this ?

@MerleLiuKun
Copy link
Member

You can use get_user method with access token get more fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants