【问题标题】:Read tweets using Twitter API v1.1 and jQuery Ajax使用 Twitter API v1.1 和 jQuery Ajax 阅读推文
【发布时间】:2013-12-04 17:01:59
【问题描述】:

我已向此 URL 发出 GET 请求以获取我最近的供稿。

请求:

https://api.twitter.com/1.1/search/tweets.json?q=**%23twitteruser**&result_type=recent&count=4

结果:

{"errors":[{"message":"Bad Authentication data","code":215}]}

我的要求是使用 jQuery 显示提要。所以当我看到这个 API 时,我想用 jQuery 的 Ajax 来使用它。

请帮助我如何授权阅读我自己的推文。

【问题讨论】:

    标签: jquery api twitter tweets


    【解决方案1】:

    您应该在 url 中将令牌信息作为参数发送,例如:token、toke_secret 等。你也可以看看这个网页:https://dev.twitter.com/docs/auth

    【讨论】:

      猜你喜欢
      • 2013-08-19
      • 1970-01-01
      • 2013-05-30
      • 2014-09-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-25
      • 2014-06-30
      相关资源
      最近更新 更多