私が使用している方法は次のとおりです。
[STTwitterAPIWrapper twitterAPIWithOAuthConsumerName:@"<Value>" consumerKey:@"<Value>" consumerSecret:@"<Value>" username:@"<Value>" password:@"<Value>"];
与えられた例を使用しているとき:
consumerName:'TweetDeck',
consumerKey:'yT577ApRtZw51q4NPMPPOQ'
パラメータとして機能し、Twitter の結果を返します。自分のアプリの consumerName、consumerKey、consumerSecret を使用すると、以下のエラーが返されます。
エラーログは次のとおりです。
Unhandled authentication challenge type - NSURLAuthenticationMethodOAuth2
-- Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0xa6d4fb0 {NSErrorFailingURLKey=https://api.twitter.com/oauth/access_token, NSErrorFailingURLStringKey=https://api.twitter.com/oauth/access_token}
ここで何か問題がありますか?