3

我收到错误“域 = HTTP 代码 = 410“操作无法完成。(HTTP 错误 410。)”。在 iOS 应用程序开发中。

此代码以前运行良好,但现在抛出错误。

4

2 回答 2

2

似乎您正在使用 twitter API 的 V1.0。检查资源 URL,它可能是https://api.twitter.com/1/而不是https://api.twitter.com/1.1/

有关更多详细信息,请查看https://dev.twitter.com/docs/api/1.1/overview

于 2013-07-18T06:28:35.967 回答
2

您可能正在使用 v1.0 的 Twitter API。然后,解决方案是切换到 1.1 版本。见:https ://dev.twitter.com/blog/api-v1-is-retired

1.1 API 概述: https ://dev.twitter.com/docs/api/1.1/overview

于 2013-06-13T22:56:14.580 回答