What Facebook permission am I missing that is causing this simple request to not work?
I have two users (user_1 & user_2) authenticated with my app.
The two users have different permissions allowed for the app.
Both users are friends with other_user.
When I try to get the content at this URL:
https://www.facebook.com/other_user/posts/10150177165252500
It works for user_1, but not for user_2. user_2 gets
resp=false
Here are the permissions for user_1, who can get the content:
Here开发者_Go百科 are the permissions for user_2, who can NOT get the content:
What permission does user_1 have that allows them to get the content, that user_2 does not have?
EDIT: Forgot to mention, both users can SEE the content through the Facebook webpage.
That's a big list with lots of differences - however, what stands out to me is that for user_1, the permission for Access my friends' information
has subtext that reads Birthdays, Religious and Political Views, Family Members and...See More while user_2's has only Activities. That seems like the most likely candidate there.
If this doesn't fix it then some other questions you might want to answer in your post:
- What permissions did your app request to begin with?
- Why are the user's permissions different? Did user_2 authorize the app and then revoke some permissions?
- Have you tried trimming down user_1's permissions one by one? When you find the one that stops user_1 from seeing the content also, you've got your answer.
- What does the Facebook documentation say about this - what permissions are required to get friends' posts?
精彩评论