当我尝试使用SA_OAuthTwitterEngine
登录Twitter时,我收到了401错误。
我接收到了代理调用:
- (void) OAuthTwitterController: (SA_OAuthTwitterController *) controller authenticatedWithUsername: (NSString *) username {
但当我试图在此之后发送一条推文时:
[_engine sendUpdate: [NSString stringWithFormat:@"Hello World"]];
我收到了一个401错误:
failed with error: Error Domain=HTTP Code=401 "Operation could not be completed. (HTTP error 401.)"
我已经检查了我的Twitter应用程序设置:
Type: Client
Default Access type: Read & Write