问题描述:

Does Facebook API allow upload pictures (with user's permission) to user's album but don't update user's wall?

网友答案:

first you need user_photos or friends photos permission.

ı think this helps.

http://facebook.stackoverflow.com/questions/2718610/upload-photo-to-album-with-facebooks-graph-api

https://developers.facebook.com/docs/reference/fql/album/

$facebook->setFileUploadSupport(true);
$args = array('message' => 'Photo Caption');
$args['image'] = '@' . realpath($FILE_PATH);

$data = $facebook->api('/'. $ALBUM_ID . '/photos', 'post', $args);
print_r($data);
网友答案:

The no_story parameter is what you are looking for:

“If set to 1, optionally suppresses the feed story that is automatically generated on a user’s profile when they upload a photo using your application.”

https://developers.facebook.com/docs/reference/api/user/#photos

相关阅读:
Top