Php facebook api duvar yazısı

0 Cevap php

Ben kod çalışmıyor altında çalıştı

$attachment = array('message' => 'some meesgae', 'name' => 'This is my demo Facebook application!', 'caption' => "Caption of the Post", 'link' => 'http://mylink.com', 'description' => 'this is a description', 'picture' => 'http://mysite.com/pic.gif', 'actions' => array(array('name' => 'Get Search',     'link' => 'http://www.google.com')) );


$result = $facebook->api('/me/feed/','post',$attachment);

Ve ben genişletilmiş izni "publish_stream" verildi

 $loginUrl = $facebook->getLoginUrl(array('req_perms' => 'email,user_birthday,status_update,publish_stream'));

0 Cevap