Twitter_OAuth Error : Domain=HTTP Code=410

半世苍凉 提交于 2019-12-12 15:26:38

问题


I am getting an error `Domain=HTTP Code=410 "The operation couldn't be completed. (HTTP error 410.)". in iOS application development.

This code previously worked fine but now it is throwing an error.


回答1:


You might be using v1.0 of the Twitter API. Then, the solution is to switch to version 1.1. See: https://dev.twitter.com/blog/api-v1-is-retired

Overview of 1.1 API: https://dev.twitter.com/docs/api/1.1/overview




回答2:


Seems that you are using V1.0 of the twitter API. Check Resource URL it might be https://api.twitter.com/1/ instead of https://api.twitter.com/1.1/

For further detail check https://dev.twitter.com/docs/api/1.1/overview



来源:https://stackoverflow.com/questions/17079636/twitter-oauth-error-domain-http-code-410

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!