How can I use publish_actions for testing without review?

£可爱£侵袭症+ 提交于 2020-01-04 18:31:28

问题


I need to test score's post to facebook but it requires publish_actions permission. I use the last version of Facebook SDK for Unity3D. Is it possible to get publish_actions permission without review of my application? I tried to get this permission using

FB.Login( "publish_actions", LoginCallback );

But FBResult of LoginCallback always returns error (403 forbidden) when I try to post score. I also tried to use test users of facebook sdk to test it but with no luck (the same problem - 403 forbidden). I read here that I as admin can use all permissions without review. But how?


回答1:


These are the steps you need to do to get more permisions for your development access token:

  1. Go to the following URL: 'https://developers.facebook.com/tools/explorer/'
  2. From the dropdown near the top, select the application you want to get extended permissions for
  3. Click on 'Get Acces Token'
  4. Select all the permisions you want (including publish_actions)
  5. Copy the access token generated in the text field besides it, and use it inside Unity when it prompts you for an access token.

Hope this sorts it out for you. If any step is not clear, let me know



来源:https://stackoverflow.com/questions/23651012/how-can-i-use-publish-actions-for-testing-without-review

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!