【问题标题】:Pull Twitter Profile Image in Twitter API VERSION 1.1在 Twitter API 版本 1.1 中提取 Twitter 个人资料图像
【发布时间】:2013-09-10 12:51:33
【问题描述】:

有没有一种快速的方法可以在 Javascript 中提取 Twitter 个人资料图像?我需要获取完整图像的网址(不是头像大小)。谢谢。任何代码示例都很好。

【问题讨论】:

标签: javascript url twitter tweetsharp


【解决方案1】:

你可以如下使用,我用的是Tweet Sharp:

While callback twitter is providing ProfileImageURL. Maintain this and again
  hit the provided url using OAuth, it will return Twitter user image URL

或者使用下面的 URL,使用 OAuth 并获取 ImageURL。

https://api.twitter.com/1.1/users/show.json?screen_name=amit

对于非安全,它将返回ProfileImageUrl,对于安全ProfileImageUrlHttps

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-09-15
    • 2013-08-02
    • 2013-08-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多