Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get friends who interacted on timeline - Facebook

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

like image 251
Sourav Avatar asked Aug 14 '16 14:08

Sourav


1 Answers

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/

like image 69
andyrandy Avatar answered Oct 22 '22 00:10

andyrandy