问题
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