我知道您可以使用此代码上传到用户相册
$facebook = new Facebook(array(
'appId' => 'ID',
'secret' => 'SECRET',
'fileUpload' => true,
'cookie' => true // enable optional cookie support
));
$facebook->setFileUploadSupport(true);
# File is relative to the PHP doc
$file = "@".realpath("../../_images/stuff/greatness.jpg");
$args = array(
'message' => 'Photo Caption',
"access_token" => "urtoken",
"image" => $file
);
$data = $facebook->api('/ALBUMID_GOES_HERE/photos', 'post', $args);
if ($data) print_r("success");
现在这总是从我的服务器上传,Facebook 是否有可能从外部 URL(如http://www.test.com/image.jpg )获取图像而不是使用我的服务器上传?