开发者

How to give links from post via facebook php api

I need to post links from posts descriptios as in the screenshot:

How to give links from post via facebook php api

I tried lots of things with facebooks php api like this:

 $POST = array(
//      'description' => $smiley[$smileyid]['descript开发者_如何学Goion'],
    'picture' => $oyun_resim,
    'name' => 'Arkadaşın ' . $oyun_adi . ' adlı oyunda size meydan okunuyor !',
    'link' => $oyun_link,
    'caption' => "Arkadaşın sana meydan okuyor !!",
    'description' => "<b>Arkadaşın bu oyunda sana meydan okuyor, ona rakip olmak için oyuna başla ve ondan fazla puan topla.</b><br />
                    {\"name\": \"OYNA !!\", \"link\": \"$oyun_link\"}",
//      'message' => "",
    'text' => 'OYUNA BAŞLA !',
    'href' => $oyun_link,
    'actions' => '{"name": "OYNA !!", "link": "' . $oyun_link . '"}',
    'cb' => '');


You can only have one url in a facebook post (link) as of now.

Here's a list of all the parameters you can use in a facebook post:

http://developers.facebook.com/docs/reference/api/post

-Roozbeh

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜