Proximity calculation on facebook
February 5, 2011 5:45 AM Subscribe
Can you find how "close" you are to any specific person on facebook using an API (e.g., something very similar to linked-in where it shows how many degrees you are away from someone?)
I know you can find mutual friends -- but I'm really interested in developing an application that can score distance. Thanks in advance
I know you can find mutual friends -- but I'm really interested in developing an application that can score distance. Thanks in advance
Presumably if you could find friends lists it wouldn't be too hard to implement some standard algorithm for finding distances in graphs. The problem, I'd think, is that it wouldn't scale well. I could imagine, though, that it wouldn't be too hard to check if, say, two people are within four degrees of each other (compare their lists of friends of friends) and so you could perhaps report that the distance is 1, 2, 3, 4, or "more than 4".
(I'm a mathematician, not a programmer.)
posted by madcaptenor at 2:13 PM on February 5, 2011
(I'm a mathematician, not a programmer.)
posted by madcaptenor at 2:13 PM on February 5, 2011
It appears that I reinvented bidirectional search there.
posted by madcaptenor at 2:30 PM on February 5, 2011
posted by madcaptenor at 2:30 PM on February 5, 2011
This thread is closed to new comments.
posted by Oktober at 6:38 AM on February 5, 2011