• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Post Facebook social graph to timeline

Community Beginner ,
Feb 01, 2012 Feb 01, 2012

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

TOPICS
Development

Views

1.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Feb 02, 2012 Feb 02, 2012

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

...

Votes

Translate

Translate
Community Beginner ,
Feb 02, 2012 Feb 02, 2012

Copy link to clipboard

Copied

LATEST

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/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines