Question:

I have added the "Photos" application to my application profile. I can create albums and manfully upload photos there. How can I upload photos to the albums via the Graph API?

 

 

 

Sharing:

Appreciate if you can like this page if you find it useful! - Click "Like"

At this moment, I have tried and found no ways to do this via the Graph API.

What I have tested is:

  • I have coded that can upload photos to albums created inside the user profile by posting the photo to "/user_album_id/photos" via the Graph API.

  • I have the id of the album in the application profile (called this 'application_ablum_id'). I am sure that this is correct as I can query the photos details the blum via posting a GET request to "/application_album_id/photos".

  • I replace the user_album_id by the application_ablum_id. However, when I tried to execute the code to upload the photos, "(#120) Invalid album id" error is returned.

This has been reported in Facebook Developer's Bugzilla already (http://bugs.developers.facebook.com/show_bug.cgi?id=6334)

 

 

 

Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!