Reputation: 14513
Does Facebook API allow upload pictures (with user's permission) to user's album but don't update user's wall?
Upvotes: 0
Views: 1638
Reputation: 96316
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
Upvotes: 0
Reputation: 683
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);
Upvotes: 1