How to get user image with Twitter API 1.1?

后端 未结 6 2092
眼角桃花
眼角桃花 2020-12-02 17:45

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

B

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 18:08

    try this

    http://api.twitter.com/1/users/profile_image/{twitter_account}.xml?size=bigger
    

    In API 1.1 the only way is to connect your application, retrieve the user by

    https://dev.twitter.com/docs/api/1.1/get/users/show
    

    and retrieve after his picture

    profile_image_url
    

提交回复
热议问题