Closed armujahid closed 10 years ago
I am trying to post image to a specific album on a page of which i am admin
The permissions I have set are: user_photos friends_photos publish_actions manage_pages publish_stream photo_upload
page id is 604915026260980 album on the page id is 604917512927398 album url : https://www.facebook.com/604917512927398
i can successfully post to page wall as admin using status = fb.post('/pageid/feed', {'message':'testing api2. ignore this post'})
I can even post photo to page using fb.post("/pageid/photos", { "source":open("temp.jpg")}) but this will not post photo as an admin.
but i want to post photo to a specific album on the page. i have tried everything to post on specific album using
fb.post("/albumonthepageid/photos", {"source":open("temp.jpg")})
please help me
sorry i forgot to use tokens for page.. but it shouldn't give that error that album id is invalid
I am trying to post image to a specific album on a page of which i am admin
The permissions I have set are: user_photos friends_photos publish_actions manage_pages publish_stream photo_upload
page id is 604915026260980 album on the page id is 604917512927398 album url : https://www.facebook.com/604917512927398
i can successfully post to page wall as admin using status = fb.post('/pageid/feed', {'message':'testing api2. ignore this post'})
I can even post photo to page using fb.post("/pageid/photos", { "source":open("temp.jpg")}) but this will not post photo as an admin.
but i want to post photo to a specific album on the page. i have tried everything to post on specific album using
fb.post("/albumonthepageid/photos", {"source":open("temp.jpg")})
The line below gives error "invalid album id" but it is valid because i can open this album using https://www.facebook.com/604917512927398)
please help me