I have integrated facebook sdk with my android app.
But users are facing a strange problem and I have searched a lot without any success in finding the solution.
The problem is, when user login for the first time, everything works fine. But when user log out and then login again, nothing happens. Just that white login screen appear and disapper in couple of seconds.
Any idea whats going wrong here?
Nothing wrong here. The Facebook account of that user is already associated with the app and the user does not need to provide permission again. If you check, you will see there will be an active session after the log-in.
Related
I am using the new Facebook SDK (4.0.0). I am implementing a FB login, and it works fine for ONE login, but if you log out and then try to log in again, you get the following error:
This is all without closing the app, or modifying code or anything. Just log in, then out, then attempt to log in again.
The hash (blacked out) isn't even the same hash that my computer provides. There are similar threads talking about this problem, but no easy solutions, other than the remedy discussed below.
The only way I've found to remedy this problem is to delete the app from my Facebook Developers page, and create the app all over again, to get a new App ID. This is my first time using Facebook login, and so I am testing a couple things I'd like to happen when the user logs in. Is there any method to avoid this, so that I can log IN and OUT as many times as required?
Thank you in advance.
I am adding Facebook login to my app so to get permission to post photos for users. Having created the code, I now want to test that it works. So naturally I am using my own Facebook again to see that the system works. The first time I went through, I found some stuff I didn't like. So I made the changes. Now that I want to test again using my Facebook again, when I login, Facebook keeps telling me that I already gave the app permission. I tried uninstalling the app and then re-install, just in case it was caching locally. But that didn't help. So my question is: how do I get to reuse my account to login and request the permissions again? I hope the question is clear. If not, please ask for clarification.
I am experiencing this problem with android. But I am guessing it's similar for iOS, so I use both tags.
Open the following page in your browser: https://www.facebook.com/settings?tab=applications
Your App should be in that list, just remove it to test the authorization again.
In Hackbook Android sample and any other Facebook SDK 3.0.1 samples i getting trouble to login.
I go through facebook login dialog and after successful authentication then app authorization dialog appears: "Hackbook would like to access your public profile, friend list and photos" with Cancel and OK buttons. Click on any these buttons has no effect. Only way to return to app is press hardware back button.
Samples works well some days ago. I've tried to register own app id and replace it in samples, generate hashes for android native application, change app name and package, nothing helps.
Please point what's going wrong.
I experienced a similar issue which might be afflicting you as well. I had the same behavior you are seeing and I figured out it was due to having the "Don't keep activities" developer option turned on. If that option is on and you have not yet logged into the native Facebook app then you will go into an infinite loop on login. It is a bug with the Facebook SDK for Android.
Here is the bug report, https://developers.facebook.com/bugs/269489836511974.
When openning Linkedin login page one gets from their android SDK, sometimes it redirects us to misleading and confusing ad (attached). Does anyone know how can we prevent this? If we talk to LinkedIn, can they turn this monstrosity off?
Unfortunately a change was pushed last week that caused this to start happening for mobile clients. We're actively working on getting this fixed.
Hi I have followed facebooks tutorial and setup the sso key and have integrated the sdk into my code. After logging into facebook via the facebook.authorize it brings me to a new screen which just says "loading" and sits there.
There are no errors in logcat / console and if I press the back button it just says I cancelled the login process.
I am testing on a device.
All the required permissions are there (internet)
I've also tested on the emulator and it sits at the same point.
I've also tried disabling the SSO via Facebook.FORCE_DIALOG_AUTH and after logging in I get a blank screen as well.
Thanks
well, I know this is a very old question but I just happened to stumble upon this problem last night. I solved by:
Updating my FB client in my phone
Making sure the date/time were correct on the device.
Try and disable any adblock such as adfree or adaway if present. It caused me similar issue when trying with Parse.