$这 - >负载>库(' SRC / facebook.php&#39); $ fb =新Facebook(数组(' appId' => APP_ID,'秘密' =&>; SECRET_ID));
$photo_uploaded = $fb->api('/USER FACEBOOK ID/feed', "POST", array(
'access_token' => "HERE USER ACCESS TOKEN",
'picture' => 'IMAGE URL', // remote URL to image
'name' => "Testing",
'description' => "This is testing msg"
));