King Julien
King Julien

Reputation: 11308

Show app name next to the icon in news feed

When I post is published using the application on facebook, there is a small icon below, next to the like button. I want to add application name or some custom text right next to that icon. Below is a screenshot of twitter app that does what I mean. Posts are published using open graph api. Any ideas?

enter image description here

Upvotes: 1

Views: 309

Answers (1)

Gray
Gray

Reputation: 2333

Those are called actions, and you can add them by sending an array of JSON objects as a parameter to your post call.

Example:

actions=[{'name':'@JemalaTony on Twitter', 'link':'http://twitter.com/#!/JemalaTony'}]

Source: Graph API > Post

Upvotes: 4

Related Questions