Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

publish_actions permission errors

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

http://imgur.com/DPwNP

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.

like image 402
Ian Kallen Avatar asked Oct 14 '11 20:10

Ian Kallen


1 Answers

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.

like image 159
Ian Kallen Avatar answered Oct 15 '22 14:10

Ian Kallen