Skip to content Skip to sidebar Skip to footer

Facebook Sdk Android: Onsuccess Called But Oncancel Not Called

I have implemented a facebook login for my app. After the successful login, the onSuccess() callback is called. However, When I logout from facebook, the onCancel() callback is not

Solution 1:

FacebookCallback onCancel() will be called only when you dismiss the login dialog without continuing log in.

When you logout, Profile and AccessToken would become null but onCancel will not be called.

Hope this helps :)

Post a Comment for "Facebook Sdk Android: Onsuccess Called But Oncancel Not Called"