Post to user facebook wall not working when Facebook app is installed on device/emulator

后端 未结 3 659
情书的邮戳
情书的邮戳 2021-01-14 03:09

I\'ve built an activity that uses this implementation (see the accepted answer) to post a status update on a user\'s facebook wall.

It works with no problem if the e

3条回答
  •  渐次进展
    2021-01-14 03:25

    I have found a workaround but it is not the best so far.

    facebook.authorize(activity, PERMISSIONS, Facebook.FORCE_DIALOG_AUTH, 
                    new LoginDialogListener());
    

    This will force that your app does not use the SSO if official facebook app is installed on the device. But there must be a better solution because there are apps out there which use sso with the official facebook app.

提交回复
热议问题