facebook graph api - missing fields

2019-08-11 11:50发布

问题:

I'm trying to make a facebook application which deals mostly with posts in facebook groups.

So, when i access the feed from my app, some fields are missing. When i access the same post over facebook, those fields are visible.

Eg: A photo uploaded by a user is not visible when accessed via graph. It hides the photo field. Later i found that whatever photos that specific user uploaded, I couldn't access it via graph api.

Does anyone know the reason? Does it have something to do with permissions? (I hope not, because i've enabled all app permissions listed by facebook)

回答1:

FB Developers should expect this. FB users can disable api access to their data on a feature-by-feature basis (in fact, they can disable FB Platform entirely). For example, they can prevent access to their photos via the api. This is set in the account settings > Apps > Apps Others Use