【问题标题】:Error occurring in twitter API?推特 API 中发生错误?
【发布时间】:2014-03-04 16:58:05
【问题描述】:

当我在浏览器中尝试此 URLenter link description herehttps://api.twitter.com/1/statuses/statuses.json 时显示错误为休闲

{"errors": [{"message": "Twitter REST API v1 不再有效。请迁移到 API v1.1。https://dev.twitter.com/docs/api/1.1/overview.", "code": 68}]}

纠正这个问题使用https://api.twitter.com/1.1/statuses/user_timeline.json 这个 URL 这显示一个错误作为休闲

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

我也登录了推特。

我尝试使用上述两个 URL 但没有收到任何数据。 我应该在 IOS 中使用什么 URL 才能正常工作?

我已经尝试过,并添加了此链接中给出的一些示例代码What goes wrong to access twitter timeline account?

【问题讨论】:

标签: ios twitter-bootstrap twitter ios7


【解决方案1】:

当我们尝试https://api.twitter.com/1/friends/ids.json时,目前还没有在twitter中使用。所以我们可以使用v1.1。在v1.1中,由于https,我们无法直接在浏览器中测试。我们需要测试正确的 https 数据包进行测试,以便我们只能在编程或其他一些 https 工具中实现。

【讨论】:

    猜你喜欢
    • 2013-06-13
    • 1970-01-01
    • 2013-11-20
    • 2012-06-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-09-07
    • 1970-01-01
    相关资源
    最近更新 更多