1

when i do a simple request using twitter api on ipad simulator, why does server send a 401 error while using iphone simulator it seems to work?

i use MGtwitterEngine and SAOauthTwitterEngine. it looks like a common problem but i didn't find any solution throughout the web.

SOLUTION

control the response code in your MGtwitterenginedelegate method implementation if it's 401 you have to launch

[_engine clearAccessToken];

and relaunch login methods.

DX89B
  • 1,593
  • 2
  • 11
  • 11

1 Answers1

1

The device needs to be authenticated separately. Did you go through the OAuth authentication process on the device?

Joshua Nozzi
  • 60,946
  • 14
  • 140
  • 135