Publishing permission errors

I am trying to create an application with custom actions, so I added "publish_actions" to the list of permissions requested with the access token. My test user, who is currently not using the application, cannot get the access token, I get an opaque error. cm.

http://imgur.com/DPwNP

I saw other posts about how people are changing their application to “Games” to get around problems with “publish_actions”, but that didn't make any difference. As soon as I remove "publish_actions" from the scope, my test user can get the access token, but when he tries to publish the user action, the response is an OAuthException "(200 #) Extended permission is required: publish_actions"

Some clarity on how user actions can be developed and tested will be appreciated.

+6
source share
2 answers

It turned out that the problem was not related to selective saving aggregation configured in the "App"> "Application Name"> "Auth Dialog" section in the "Anonymous Ads" section. Once this was done, it worked. Unfortunately, the Facebook error showed no signs that this was a problem, or that neglecting the "Aggregate Preview" setting would result in a failure of the publish_actions permission. This seems like a bug on the Facebook side.

+14
source

I had a similar problem. I conducted several tests using the Open Graph Test user, and therefore this test user accepted this application.

After that, I added "publish_actions" to the list of permissions. However, since the test user had already accepted the application, he no longer requested authorization.

To solve this problem, go to Settings> Applications and uninstall the application (while you are logged in as a test user).

The next time you run the application, it should again request authorization.

0
source

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


All Articles