Before publishing the application, you need to test sending the game results to Facebook.

To do this, you need to get permission to publish_actions , which I did not do.

I created my application in Facebook, calling the following code:

 List<string> publishPermissions = new List<string>{ "publish_actions" }; FB.LogInWithPublishPermissions(publishPermissions, callback); 

I am shown a Facebook modal window in the Unity editor, I click on Find Access Token in it :

Image modal window

Moving to Facebook, copying User Token there :

User Token image on Facebook page

I bring it to the previously mentioned Unity window and click Send Success :

Image with User Token input window

As a result, there are no permission to publish_actions among the permitted publish_actions and among the declined ones too:

Result

What did I set wrong?

    2 answers 2

    In order to get the right publish_actions , you need to go through the app review on Facebook

      Found - to get the right publish_actions without passing the review of the application is necessary:

      1. Follow https://developers.facebook.com/tools/explorer/

      2. Select your application from the drop-down list on the top right.

      3. Click Get Access Token

      4. Select permissions that are needed

      5. Use this token

      6. If you need to, you can extend the validity of the token up to several months, instead of a few hours, go to https://developers.facebook.com/tools/accesstoken/

      7. We click on Debug opposite User Token, and then - Extend Access Token button