FB scope publish_actions not asking
<p>in our apps we have the option to share activity on Facebook after which the users get a small reward. In recent days this feature has stopped working for some of our users because we didn't get "post_id" from your side which we need to determine if the user should get a reward.</p>

<p>We found out that this happens when the user hasn't given us the "publish_actions" right. Therefore we have added a check for this right and we try to request it this way:</p>

<pre><code>FB.api('/me/permissions/publish_actions', function(response) {
  // pokud mame pravo na zverejneni obsahu hned postujeme
  if (response.data &amp;&amp; response.data[0] &amp;&amp; response.data[0]['status'] === 'granted') {
    postShareReport();
  } else {
    // pokud nemame, tak si zkusime vyzadat pravo
    FB.login(function(response) {
       if (response.authResponse) {
         // pokud nam ho dal, tak postujeme
         if(response.authResponse.grantedScopes &amp;&amp; response.authResponse.grantedScopes.indexOf('publish_actions') !== -1) {
            postShareReport();
         }
       }                  
     }, {scope: "email,publish_actions",return_scopes: true, auth_type: 'rerequest'});          
  }
});
</code></pre>

<p>However, here we encountered another problem. The publish_actions right is not requested from some users even though they haven't given us this right. The login process does go through, however. The user doesn't receive the window with the option to give us this right.</p>

<p>Thank you
Kind regards</p>