dsljpwi494719 2018-05-19 08:00
浏览 172
已采纳

Facebook PHP API:在我的小组中获取帖子

I need to get all the posts in my own group (admin privileges).

I understand that I need "user_managed_groups" permission for myself. I just cant understand how to submit app for review while I cant read feed without permission! I need to do something with test users?

What are the steps I need to follow for app review?

Thanks!

  • 写回答

1条回答 默认 最新

  • dougou6213 2018-05-22 11:44
    关注

    Step 1: app into development mode

    Step 2: turn off the "Require secret key" in Advanced settings of the group

    Step 3: graph api explorer choose THE app

    Step 4: get User access token for YOU (admin of that GROUP and admin of the APP), with permission "user managed groups", then approve it to give that data (in the upcoming popup window)

    Step 5: reference in GET: {id of your group}

    Step 6: press sumbit

    You get JSON response with data on your group

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?