Facebook Seession Is Closed After Log In Process In Android
I'm developing android app which require facebook login for posting facebook comments. However I've got stuck on logging in. So I followed tutorial at https://developers.facebook.c
Solution 1:
Ok I solved it, based on "remote_app_id does not match stored id" exception i found answer https://stackoverflow.com/a/14421260/1618316 and printed facebook app id. First I generated app id with command from fb tutorial, but it was different to one printed by answer above. So I put new key at fb and now it works.
But I still wonder how is possible that command from tutorial gave me wrong hash :/
Solution 2:
If you're using the LoginButton inside a fragment, then you need to call loginButton.setFragment from the containing fragment, and also override the onActivityResult method inside that fragment.
See the tutorial here https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/
Post a Comment for "Facebook Seession Is Closed After Log In Process In Android"