Search code examples
cocoa-touchiphone-sdk-3.0twitter

Error 403 while getFollowers : Twitter Iphone MGTwitterEngine


I am using Twitter-OAuth-iPhone https://github.com/bengottlieb/Twitter-OAuth-iPhone
I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days
its giving me the 403 error.

-- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with
error: Error Domain=HTTP Code=403 "The operation couldn’t be
completed. (HTTP error 403.)"

As twitter api wiki 403 is due to crossing the limit of updates and DM

but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error.

Thanks
Amit Battan


Solution

  • it is solved now

    I change

    #define TWITTER_DOMAIN          @"twitter.com"
    

    to

    #define TWITTER_DOMAIN          @"api.twitter.com/1"
    

    in MGTwitterEngine.m