Skip to content
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

Delegate receives nil values on iOS5 SDK #78

Open
ericflo opened this issue Jul 22, 2011 · 4 comments
Open

Delegate receives nil values on iOS5 SDK #78

ericflo opened this issue Jul 22, 2011 · 4 comments

Comments

@ericflo
Copy link

ericflo commented Jul 22, 2011

All the callbacks that I'm using (like storeCachedTwitterOAuthData:forUsername: and OAuthTwitterController:authenticatedWithUsername:) are getting nil in the parameters.

Going up the stack, it seems that the data received in setAccessToken:withData: is receiving nil from the data.

I attempted to dive in and find out why that was happening, but wasn't able to do so.

@peetz
Copy link

peetz commented Jul 28, 2011

I am experiencing exactly the same issues. Any fixes yet?

@jandrad
Copy link

jandrad commented Oct 1, 2011

I don't know if it is related but I changed http to https on the SA_OauthTwitterEngine.m and now it's working fine!

self.requestTokenURL = [NSURL URLWithString: @"https://twitter.com/oauth/request_token"];
self.accessTokenURL = [NSURL URLWithString: @"https://twitter.com/oauth/access_token"];
self.authorizeURL = [NSURL URLWithString: @"https://twitter.com/oauth/authorize"];

@petershine
Copy link

Using "https" like above DO fix the problem. Thank you, @jandrad

@mobihunterz
Copy link

I did the same, used https:// but on iPad 2, iOS 5.1, login screen is not being opened. It shows me access token is old or expired, go back to the main page. But I had just created access token..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants