-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storeCachedTwitterOAuthData not being called #95
Comments
Same issue here |
Same here... trying to find out why/fix it... |
OK, the (optional) delegate method << - twitterOAuthConnectionFailedWithData: >> gets called with the following data as the parameter: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x91067f0 {NSErrorFailingURLKey=http://twitter.com/oauth/access_token, NSErrorFailingURLStringKey=http://twitter.com/oauth/access_token, NSUnderlyingError=0x9119cb0 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1012.)"} A google search reveals that "Error -1012" means "NSURLErrorUserCancelledAuthentication" (source: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/Reference/reference.html) I'll dig deeper to see why this is so... |
OK, sorry for the flood. Found the solution at StackOverflow: ...the solution basically consists of change three lines in -initOAuthWithDelegate:, the three URLs from "http" to "https". |
Thanks for the answer. It really help me a lot. |
storeCachedTwitterOAuthData doesn't seem to be being called on twitter login.
tested on Xcode 4.2.1. with iOS 5.1
The text was updated successfully, but these errors were encountered: