Reputation: 7674
I am posting to a user's wall on Facebook. How can I add a link to the post next to the like and comment links, as seen on the illustration below. What is the parameter name I should include in my request?
Upvotes: 1
Views: 1064
Reputation: 7674
This is what I eventually did:
The link besides the like and comment is called "actions". To add it, you need to create an array of actions (actually, as I understand only one action is supported). For example:
JSONObject actions = new JSONObject();
actions.put("name","Get Your App");
actions.put("link", "Your app URL");
parameters.putString("actions", actions.toString());
Upvotes: 4
Reputation: 19788
Here is list of all Post Fields.
link
| The link attached to this post | Requires access_token
| string containing the URL
Upvotes: 0