Dileepa Jayakody
Dileepa Jayakody

Reputation: 555

Friend-of-a-friend (FOAF) support in Facebook

Does Facebook support FOAF (friend-of-a-friend) networks? I think it had a plugin foaf-generator earlier, but it's now deprecated.

Does FB Graph search use FOAF under the hood?

Upvotes: 4

Views: 1596

Answers (2)

Thomas
Thomas

Reputation: 2767

Matthew Rowe has done some research on FOAF, and has created a tool to extract your FOAF profile from your facebook. The latest version of it is here

Upvotes: 2

rockaja
rockaja

Reputation: 93

This can be done Via an App (facebook Application)

If two users have authenticated your App they can view each others friends and friends friendlist

i.e

If UserA and UserB are friends, and UserB and userC are friends

And UserA, UserB and UserC have authenticated your App

UserA can see UserB's friends (i.e userC), UserA can also see UserC's friends (Even though UserC is not a friend of UserA, but is a friend of userB)

UserA will not be able to access UserC's friends if UserC have not authenticated the App.

Basic permission will work for this. The access token needs to be used when using the graph API

Query will look like this

file_get_content("http://graph.facebook.com/frienduserid?access_token=app_access_token")

Upvotes: 0

Related Questions