Facebook login bookmark disappears soon after loading

I implemented FB in my application and it works fine on my samsung o / s 1.5 device. However, on HTC Evo, the FB registration window disappears soon after loading. he stays a couple of seconds and disappears. I tested it in 2.2 emulator and it works great.

What could be a possible cause of behavior and how can I overcome it?

just found out that this happens when i logged in to facebook in another application. however, in applications such as photoshop express, there is no such problem.

Just what am I missing?

+4
source share
3 answers

I had the same problem. This was due to the fact that I was connected with the official expression of Facebook. I disconnected from the official Facebook application, after which I managed to start the login dialog. The problem is with SSO.

I solved this by forcing a login dialog rather than SSO by passing FORCE_DIALOG_AUTH in the login methods in Facebook.java.

+7
source

The problem is that you have not yet set up your hash key for your Facebook application, which should use SSO. FORCE_DIALOG_AUTH actually disables SSO, but this is a bad user interface. Instead, take a look at the article I collected after dealing with this problem, which describes the correct way to solve your problem:

http://sean.lyn.ch/2011/07/android-the-facebook-sdk-sso-and-you/

+6
source

I got this FacebookException because the developer site was not working. After the facebook developer site worked, this problem was resolved.

0
source

Source: https://habr.com/ru/post/1342982/


All Articles