Upendra
Upendra

Reputation: 703

Twitter_OAuth Error : Domain=HTTP Code=410

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.

Upvotes: 3

Views: 2252

Answers (2)

Nishant Kumar
Nishant Kumar

Reputation: 6083

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

Upvotes: 2

Florian
Florian

Reputation: 1095

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

Upvotes: 2

Related Questions