Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get user image with Twitter API 1.1?

Tags:

php

twitter

In API 1.0, we can use users/profile_image/:screen_name

For example : http://api.twitter.com/1/users/profile_image/EA_FIFA_FRANCE

But, it doesn't work anymore in API 1.1.

Do you have a solution, please ?

like image 719
Steffi Avatar asked Sep 09 '25 15:09

Steffi


1 Answers

You can also get the twitter profile image by calling this kind of url :

https://twitter.com/[screen_name]/profile_image?size=original

For instance : https://twitter.com/VancityReynolds/profile_image?size=original

Got the info from this post :

https://twittercommunity.com/t/how-to-get-user-image-original-size-with-api-1-1/10187/14

like image 86
Simon Briche Avatar answered Sep 12 '25 08:09

Simon Briche