I have a native Android app that needs to connect to a different Facebook app (different Application ID) based on an app setting that can be changed at runtime.
Ima
Hello all i know above answer is right for older sdk version, but in facebook sdk 4 there is no Session class
older sdk version
facebook sdk 4
Session
You can simply do it by using this single line code:
FacebookSdk.setApplicationId(APP_ID);
Thanks!