-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
PFTwitterUtils crashing [Solved] #153
Comments
Thanks for the report (especially the stack trace!). I'll look into it. |
So it looks like the initial oauth token you are receiving from twitter is As ParseTwitterUtils is not yet open-sourced, my immediate solution for you would be to try and verify that you have network before beginning the auto process. We will add more defensive checks to ParseTwitterUtils starting in future releases. |
@richardjrossiii Thank you for your message. I have internet connection and keys are correct. I saw this problem strongly without users accounts in iOS settings and without the Twitter app. How I reproduce: 1) I checked that I can login in my app Anyway, I have a connection and correct keys. |
@richardjrossiii Look. If you use Twitter as a Login in web-site, you must add Callback URL. So, my solution is simple. Just change phrase in Documents: https://www.parse.com/docs/ios/guide#users-twitter-users "This value will not be used by your iOS or Android application" not so correct for understanding. I hope it should be valuable for new parse users. |
@aldmitriev, this is amazing, thanks for diving deep and finding the source of the problem! You can contribute to the docs since they are opensource and available here. Let us know if there is anything else we can help you with! |
@nlutsenko I still get the crash |
@acegreen can you open the issue on the ParseTwitterUtils repo with more details? |
Yes callback url isn't present on web login so this is expected but the crash is not. I thought we were going to safe guard against that? Will open a ticker on the other side. |
@nlutsenko on a side note, did you receive my email? Sent it to your fb account |
Guys, we're still getting the crash that looks similar to this. From time to time, but it happens. Our callback url and Twitter keys are setup. The last time is today. It looks like there're some problems at Twitter side because sometimes it says somthing about failed authentication.
|
According to stats, it looks like Twitter was down the very time we observed the crash. |
@grigorye A good repro would be very helpful here. |
@nlutsenko Yep, but if it's related to problems at Twitter side, I'm not sure it's easily doable. |
I have the same issue. Has anyone solved this issue? |
@nlutsenko ping |
@artur7 I solved it here #153 (comment) |
@aldmitriev can't I simply drag the libs to the project? |
I already added callback url |
@artur7 And yes and no ) You can't simply by drag |
@richardjrossiii You are awesome thanks!! |
Hello
PFTwitterUtils is crashing when I calling [PFTwitterUtils logInWithBlock:] or [[PFTwitterUtils logInInBackground] continueWithBlock:^id(BFTask *task)block].
It's a rare but stable crash.
Conditions: You just need to delete the Twitter app and delete all twitter accounts in iOS settings.
So, problem in real life: User haven't Twitter account and accidentally tap to Login with Twitter button... And app crashed.
So, I imagine that it should be a web-based dialog to login, but it didn't.
Parse version 1.8.2. Social, Accounts frameworks was added. initializeWithConsumerKey added
iOS SDK, Objective-C
Maybe do I something wrong?
Thank you
Crash:
The text was updated successfully, but these errors were encountered: