Copy link to clipboard
Copied
Has anyone used the facebook-actionscript-api to make social graph updates to users Facebook timeline? I have got likes and status updates going from my AIR app though struggling with the open graph.
I have created Facebook app and activated open graph and added some actions/objects/aggregators and previews (eg action:watch, object:video).
I have connected via my AIR app, passed the "publish_actions" as a permission and called facebook graph with the url "/me/video.watches" and a POST param of movie:""http://www.imdb.com/title/tt0117500/".
I get Facebook API error: "(#200) Requires extended permission: publish_actions".
I could not find any posts out there for Open graph/AS3 dev. Anyone having similar issues or can shed some light?
Thanks
FYI I have got this working now.
In my Facebook apps open graph section I added "publish_actions" to the Authenticated Referrals, see this article: http://onlytipsandtricks.com/facebook/facebook-application-development-with-open-graph/
So user is already logged in and authenticated and token generated, then the AS3 post_to_timeline_btn click handler code is:
var params:Object = new Object()
params.movie = "http://www.imdb.com/title/tt0117500/";
params.action_token = xxxxxxxx;
FacebookMobile.api("/me/v
...Copy link to clipboard
Copied
FYI I have got this working now.
In my Facebook apps open graph section I added "publish_actions" to the Authenticated Referrals, see this article: http://onlytipsandtricks.com/facebook/facebook-application-development-with-open-graph/
So user is already logged in and authenticated and token generated, then the AS3 post_to_timeline_btn click handler code is:
var params:Object = new Object()
params.movie = "http://www.imdb.com/title/tt0117500/";
params.action_token = xxxxxxxx;
FacebookMobile.api("/me/video.watches",onTimelineUpdateStatus,params,"POST");
Note the movie url has the correct paramaters in its HTML, use the get code from the action in your Facebook app or see this post: http://onlytipsandtricks.com/facebook/how-to-publish-actions-on-timeline/