Is it possible to post a message with share button in Graph API. I use SDK-PHP v3 and this code:
$args = array(
'access_token' => TOKEN_HERE,
'message' => 'message here',
'link' => 'http://www.example.com/',
'caption' => 'caption here'
);
$result = $facebook->api("/me/feed", "post", $args);
It works fine but share button is missing. There is a comment and like button but no SHARE button. Please do not give me any links to tutorials or fecebook documentation. If you know how to do this or you know it's not possible just write it. Thanks!
Note that using /links instead of /feed also applies to posting to the wall on a Facebook page - a share button (link) isn't there if you use /feed and does appear if you use /links. The Facebook API documentation is in the "Publishing" section here. For those interested, the Ruby/Rails looks something like this:
Hope that's some help to someone....
ok, I found solution. maybe someone will be interested. to add a link with share button you have to use 'me/links' instead of 'me/feed'.