问题
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:
- Go to the following URL: 'https://developers.facebook.com/tools/explorer/'
- From the dropdown near the top, select the application you want to get extended permissions for
- Click on 'Get Acces Token'
- Select all the permisions you want (including publish_actions)
- 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