Reputation: 17520
I want to get list of friends who likes my post on my timeline since 1st Jan, 16 and the story's privacy set to FRIENDS. So I tried this Graph API but I'm getting list of profiles which included friends and some non-friends profile too !
I want to get only the friends profile list.
me/posts?fields=likes{name},privacy=ALL_FRIENDS&since=2016-01-01
The main target is to create possible friends list without taggable or invite API
Upvotes: 7
Views: 123
Reputation: 73984
If the privacy is set to friends, you should only get friends. There is no way to check if someone is a friend, unless that friends authorized your App too. In that case, he would show up in the /me/friends
endpoint.
I can only think of one reason why you would get more than just friends: If you tagged a friend, the friends of the tagged user would see the post too.
If that is not the case, you may file a bug: https://developers.facebook.com/bugs/
Upvotes: 2