I'm trying to create an app with custom actions so I've added "publish_actions" to the list of permissions requested with the access token. My test user that doesn't currently use the app can't get an access token, I get an opaque error. see
I saw other posts about people changing their app to "Games" to work around problems with "publish_actions" but that has made no difference whatsoever. As soon as I remove "publish_actions" from the scope, my test user can get an access token fine but when it tries to post a custom action, the response is OAuthException error "(200#) Requires extended permission: publish_actions"
Some clarity on how one can develop and test custom actions would be appreciated.
It turns out that the problem was not having an aggregation with sample save configured under "App" > "App Name" > "Auth Dialog" in the 'Aggregation Previews' section. Once that was done, it worked. Unfortunately, Facebook's error provided no indication that that was the problem or that neglecting to configure the 'Aggregation Preview' will make the publish_actions permission fail. This looks like a bug on the Facebook side.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With