Skip to content Skip to sidebar Skip to footer

Facebook Android Sdk 3.0 Callback Not Called On Cancel

I'm trying to upgrade an existing app/framework with Facebook Android SDK v3.0 but am stuck on how to authenticate with extra permissions. The problem is that the StatusCallback do

Solution 1:

Found the problem. When creating a session manually, one must set this session as the "active session" on the static Session instance:

Session session = new Session.Builder(this).setApplicationId("<My APP ID>").build();
Session.setActiveSession(session); // <-- MUST DO THIS
session.openForPublish(auth);

Post a Comment for "Facebook Android Sdk 3.0 Callback Not Called On Cancel"