I am using code from hackbook from the official link but when i test it on my mobile something weird happens.
When I first luanched, I pressed login and got the spinner but no window for login appeared. I got bacj on my starting page. Then I unistalled facebook, and everything was working fine. I installed facebook again and everything was working fine again. But then I upgraded my fb app and is not working either. I get the followning:
1)pressing the login button does nothing. Seems to loading but then i get to the same starting page
2)pressing the status update gets me a force close
3)pressing the requests asks me for login (it should have get me a warning-login required not open the login window)
4)all the other options get me the warning- please login first as the should.
has anyone encountered something similar?
Well this is what I done. Facebook so far has problems with SSO (single Sign On- meaning with this that if you are logged in Facebook any other app that uses facebook must “see” that you are logged in’). So I disabled SSO. That means that even if you are logged in In FB, when you first launch my app you must log in again. This is how to do it:
Somewhere in your code where it does the authorization it calls:
or just google it : disable SSO
Here is an interesting link that suggests how to setup SSO properly which didn’t work for me either, so I went with option number 2- disabling the SSO.
Link