Search code examples
facebookfacebook-opengraphfeedfacebook-timeline

Can I publish Open Graph Actions from my Facebook app to a user's news feed in addition to their timeline?


I have set up Actions for my facebook open graph app and can successfully publish actions to my timeline. This is great.

However I was expecting to be able to also publish these actions to my newsfeed in the same way I can publish a story to the feed. I am using the Javascript API.

I publish the action to the timeline using -

FB.api('/me/MY_APP_NAMESPACE:MY_ACTION?MY_OBJECT=URL', 'post', function(response) {...});

I publish a story to the feed using -

FB.ui({method:feed, name:SOME_STRING, link:SOME_URL, picture:SOME_IMAGE_URL, caption:SOME_STRING, description:SOME_STRING}, function(response) {...});

I would like to be able to publish the action to both the timeline and the news feed. When a user clicks on the action in the timeline it opens that object page and I want the same behavior from the news feed.


Solution

  • When you publish an Open Graph action, the action is automatically eligible to appear in the user's Timeline, AND the Ticker and News Feeds of their friends.

    You do not need to post anything more to the API, you certainly do not need to make a separate Feed call.