Search code examples
facebook-graph-apifacebook-javascript-sdkphotos

How to store my app-generated photos in subfolders / subalbums


I am creating a sample app to exercise with the FB Graph API using Javascript.

What I want to do is, let the user add a text entry on a diary, and attach an image. I'd store the text entry on my server, and post the image (or multiple images) on the default app photo album.

But, I don't want all my app pictures to be grouped together, I'd like to categorize them.

I.e. I want to post entries about my garden, and an album for every tree / flower I have. Do you know if (and if so, how) can I create a sub-album inside by app album?


Solution

  • There is no such 'sub album' functionality, but there's no reason your app can't create different albums via the regular API and use those for the uploads