401 Unauthorized using oauth with twitter on iPhone

Posted by menkel on Stack Overflow See other posts from Stack Overflow or by menkel
Published on 2010-05-20T14:09:14Z Indexed on 2010/05/20 14:10 UTC
Read the original article Hit count: 785

I use Twitter-OAuth-iPhone.

http://github.com/bengottlieb/Twitter-OAuth-iPhone/

when i try to login on twitte, I received an error 401 i received the delegate call for

- (void) OAuthTwitterController: (SA_OAuthTwitterController *) controller authenticatedWithUsername: (NSString *) username {

but when i try to send a tweet just after

[_engine sendUpdate: [NSString stringWithFormat:@"Hello World"]];

i received an error 401

 failed with error: Error Domain=HTTP Code=401 "Operation could not be completed. (HTTP error 401.)"

i have check my twitter application setting

Type: Client

Default Access type: Read & Write

© Stack Overflow or respective owner

Related posts about oauth

Related posts about twitter