我试过下面的代码无法正常工作Facebook的API的墙后在PHP
$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);
而且我给出的扩展权限 “publish_stream”
$loginUrl = $facebook->getLoginUrl(array('req_perms' => 'email,user_birthday,status_update,publish_stream'));
请界定:不工作。 – Iznogood 2010-09-11 19:24:03
获取OAuthException:(#1)发生未知错误 错误 – Elankeeran 2010-09-11 19:48:33