I am trying to create a feed post with action link property via POST request using feed API and jQuery I am here. The post action link works fine without property but when I add an action link, it does not work, the same action link property code works fine when used with SDK, but I use it directly with the graph API Want to do Is the action link property not just using the graph API (and only through JSDK) or am I doing something wrong?
var graphApiLink = 'https://graph.facebook.com /' + FacebookId + '/ feed'; $ .post (graphApiLink, {access_token: accesstoken, verbs: [{'name': 'action', 'link': 'http://www.example.com'}]}, function (resp) {});
You can review the information here:
According to FB error messages, the link to the post must be directed to the connect or canvas URL of the application.
Comments
Post a Comment