I've searched for the past 3 hours for answers regarding this problem, and similar questions did not help, so I'm finally asking the question:
I'm trying to use Facebook's SDK for Android, and I'm getting a "blank" screen (there's a frame around it, but where you'd expect the authorization details I'm instead getting white space):
Clicking "Log In" gives the same page, only the title is now "Error" with a vague message:
I've checked that the hash key is right. I've changed the hash key to something absurd like "asdf" and the log indeed says that the application is using [some key]
and isn't matching. So I replaced "asdf" with [some key]
and that error went away. (Additionally, the page above doesn't even show up in the case of incorrect hash keys, it just ends the auth process immediately.)
I've checked that date and time settings are correct, so at least SSL isn't breaking with respect to that. I don't see any related errors or warnings in logcat, either.
I did find an existing question (no real answers) and the linked solution but that seems outdated. (And it doesn't work.)
I'm following the FB tutorial at https://developers.facebook.com/docs/mobile/android/build/#enablesso word for word, and at this point I have no idea how to debug this with no errors or warnings in the log. Has anybody else seen this bug before?
(I'm using Android API 15 with the latest clone of the github for the FB API.)
If your feed is blank, close and reopen Facebook to refresh your Feed. If that doesn't work, please learn how to report a problem with Facebook.
Try refreshing your browser or reopening the site; on a mobile app, close and reopen the app. You can also check to see if Facebook is offline and then restart your device, update apps, and clear your cache.
I have the same issue using Titanium mobile development on andorid and both using a webview or using SSO give the same result.
Edit: A bug has been filed so please sign up to it as well: https://developers.facebook.com/bugs/385350798163367?browse=search_4f8ed4596fd900857644164
Edit: I've tried multiple different apps that require a Facebook login, and all of those had the same problem. Seems like it may be a bug on Facebook.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With