Are 'publish_actions' extended permissions available for testing?

Iโ€™m trying to check the results and achievements using the extended permissions of publish_actions, but when I add it, it doesnโ€™t appear on the Permission Request page. It is like ignoring it.

I tried a couple of different ways:

$loginUrl = $facebook->getLoginUrl(array('scope' => 'publish_actions', 'canvas' => 1, 'fbconnect' => 0, 'redirect_uri'=>config_item('facebook_url'))); $loginUrl = 'https://www.facebook.com/dialog/oauth?' . 'client_id=' . config_item('fbappid') . '&redirect_uri=' . urlencode(config_item('facebook_url')) . '&state=' . $_SESSION['state'] . '&scope=publish_actions'; 

Both methods do not work. Has anyone else been lucky to check this out?

Link to the code here: http://developers.facebook.com/blog/post/539/?ref=nf

+6
source share
3 answers

ran into the same problem yesterday.

I think fb will change this behavior in the near future, but at the moment it seems that the application should be in the โ€œgameโ€ category to request permission to publish_actions ... (I'm in sandbox mode)

+3
source

I ran into the same problem, here is what you need to do.

1) Go to the apps page https://developers.facebook.com/apps/ and select your application

2) In the left navigation bar under "Settings" select "Auto Dialog"

3) At the bottom of this page, click "Customize how Facebook links to users."

4) Now you can add publish_actions permissions. enter image description here

5) Read the following links (its pain to find) https://developers.facebook.com/docs/beta/opengraph/tutorial/ https://developers.facebook.com/docs/beta/authentication/

+9
source

this may also help (citing facebook):

"As long as the Open Graph beta is available, the permission to publish_actions is requested from the developers and test users of your application. The permission to publish_actions will be ignored at the request of any other user."

it appears only after updating permissions inside the application configuration. lost so much time due to this missing documentation ...

+4
source

Source: https://habr.com/ru/post/897983/


All Articles