php - Facebook Photo Upload into Album on Fan Page failed -


i have written application posts photos on fanpage specific album long time ago.

now didn't used half year. had set application again , grant extended permissions fan page (streamm_publish) again. i've problem, i'm using old rest api gives me error: unknown error ocurred error code 1.

then tried post throught facebook graph api. tried make call api /pageid/albumid/photos what's not working(unknown path components) tried makea call /albumid_from_my_page/photos photos posted profile tried upload /pageid/photos same 1 above

but code fpr rest api worked well, what's problem there, , why new graph api isn't working how should?(bug?)

to post photo album, code:

$post_data = array(     "message" => "my photo caption",     "source" => '@' . realpath($file) ); $album_id = "xxxxx"; $facebook->api("/$album_id/photos", 'post', $post_data); 

now suppose interact page albums need page access_token added $post_data array, check answer.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -