I have added sharing functionality to Android app as described here https://developers.facebook.com/docs/android/share-dialog/#setup
But I have noticed that if user
In order to obtain the result for the sharing, your app needs to have at least the basic_info permission.
To solve that, just open an session (this will automatically request the basic_info permission):
Session.openActiveSession(this /*your activity*/,
true /*allows the UI login to show up if needed*/,
new Session.StatusCallback() {
@Override
public void call(Session session, SessionState state, Exception exception) {
Log.i("[Facebook]", "Session: " + state.toString());
if (session.isOpened()) {
/// now you are good to get the sharing results
}
}
});
You can find more information in here: https://developers.facebook.com/docs/android/getting-started/