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
Not able to login once logged out. #159
Comments
So you instantiate and use a STTwitterAPI instance, set it to nil, instantiate another instance the very same way and it doesn't work? This is very surprising. Can you provide a sample code demonstrating the issue? |
|
|
In the iOS demo project, you can login with Safari several times in a raw, and each time the STTwitterAPI instance is created again, so I don't think that the issue comes from STTwitter. Maybe you should try to make a minimal Xcode project with one single button testing only this case. Then if STTwitter doesn't work as expected, I'll be more than happy to fix it, but I need to be able to see what's wrong. |
Thanks for the response NST, You are a good man! This is from my app. 1)https://api.twitter.com/oauth/authorize?oauth_token_secret="Oauth_Secret"&force_login=1&oauth_token="Oauth_Token"&oauth_callback_confirmed=true and This is from the demo app 1)(null) |
Maybe the issue depends on the settings associated with the consumer tokens? Can you try your app with "STTwitter iOS Demo" tokens? |
I am getting the same response with your keys. Sometimes it get stuck at the URL https://twitter.com/intent/sessions. In the demo app, that URL never get called. The funny part is, if I use my consumer key and secret in the demo app, it works. |
Then it's an issue in your app and not STTwitter, so I close this issue. |
I have implemented STTwitter in my application which uses many API's of the twitter. STTwitter was so easy to implement. Thanks guys for saving my time. But, now I have an issue. Am able to login, use every API. But after I logout, Am not able to login the next time. HTTP unauthorized error. While logouting I cleared the STTwitterAPI instance to nil. Still its not working. Please help me.
The text was updated successfully, but these errors were encountered: