【问题标题】:How to determine if a Twitter user has a default profile image如何确定 Twitter 用户是否有默认的个人资料图片
【发布时间】:2012-12-15 05:20:06
【问题描述】:

我知道您可以使用以下网址找到 Twitter 用户的个人资料图片:

https://api.twitter.com/1/users/profile_image?screen_name=twitterapi&size=bigger

但是如何判断是默认图片还是用户上传的图片呢?

【问题讨论】:

    标签: image twitter profile


    【解决方案1】:

    https://dev.twitter.com/docs/user-profile-images-and-banners

    尚未上传个人资料图片的用户可以通过其用户对象的 default_profile_image 字段具有真值来识别。

    【讨论】:

      猜你喜欢
      • 2019-06-04
      • 2011-07-30
      • 2013-02-17
      • 1970-01-01
      • 2014-09-15
      • 2013-04-29
      • 2017-07-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多