I want to implement Single Sign On with Facebook in an android application. I have the following problem:
I can receive access token and all the data I need when the facebook app is not installed on device. But when I install the facebook application nothing seems to work. When I launch the activity that implements SSO it just loads for a while and then it is paused without returning anything.
I have a signed apk and I think I have the right hash key in the fb developers page.
Does anyone know why could this problem appear? Is there something I need to change in the facebook android sdk?
Thank you very much in advance!
Edit: I tried what YShinkarev said here -> Android - facebook sdk Login window disappear (commenting some lines in facebook.java code and disabling SSO). Now I give credentials and receive access token. But shouldn't it be that I received it automatically if I was signed in from the fb app? I do not understand why this does not work..