Has anyone successfully used MPOAuth on iPhone to connect with twitter?
My project builds fine but when it gets开发者_运维知识库 to line pasted bellow it crashes with the following message.
CODE:
oauthAPI = [[MPOAuthAPI alloc] initWithCredentials:credentials
authenticationURL:[NSURL URLWithString:@"https://twitter.com/oauth/"]
andBaseURL:[NSURL URLWithString:@"https://twitter.com/"]];
ERROR:
Assertion failure in -[MPOAuthAuthenticationMethodOAuth initWithAPI:forURL:withConfiguration:], /Project/MPOAuth/MPOAuthAuthenticationMethodOAuth.m:49
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Incorrect number of oauth authorization methods'
twitter now uses OAuth as authentication mechanism. You will have to change your oauthAutoConfig.plist
The entry for twitter should look like this
精彩评论