Facebook SDK 3.8 : permission publish_actions not returned

前端 未结 4 538
-上瘾入骨i
-上瘾入骨i 2021-02-06 04:07

I\'m following the facebook android sharing tutorial by facebook (https://developers.facebook.com/docs/android/share). The app runs fine and I can login with facebook an click o

4条回答
  •  萌比男神i
    2021-02-06 04:57

    We were having the same issue here.

    Try using:

    Session.getActiveSession().refreshPermissions();
    

    This will refresh the list of permissions available on

    List permissions = session.getPermissions();
    

    It will only work with Facebook registered developers users or test users registered through the Facebook App Dashboard.

    This worked for us.

提交回复
热议问题