如何确定Twitter用户是否具有默认配置文件图像

时间:2012-12-30 21:46:09

标签: image twitter profile

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

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

但我如何确定它是默认图像还是用户上传的图像?

1 个答案:

答案 0 :(得分:3)

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

  

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