Manasij Sur Roy
Manasij Sur Roy

Reputation: 103

How to get Facebook photo privacy settings via GRAPH API

There is no mention of privacy for Photo object,- https://developers.facebook.com/docs/reference/api/photo/

But its possible to get/set the same for each photo via FB website. So is it possible using GRAPH/FQL to get/set privacy settings for Photo?

Upvotes: 3

Views: 2843

Answers (2)

DavidAWalsh
DavidAWalsh

Reputation: 927

Aside from two special albums, namely "mobile uploads" and "wall photos", photo privacy is governed by the album (same on Facebook web too so the bug request won't help here). If you post to me/photos then you are posting to an album auto created for your app. You can post to any album by posting to albumid/photos.

The good news is that you can set the album privacy for an album that you create via the Graph API. See the "albums" section on this page.

Upvotes: 0

DMCS
DMCS

Reputation: 31870

For getting the value: see Lix's response.

For setting the value:

Without the column exposed via the API, it's not going to be possible to change/update its privacy. I can see this being a great bug for you to log at http://developers.facebook.com/bugs

Upvotes: 1

Related Questions