开发者

can I find if 2 users are connected on facebook or Orkut? is there any API from either to find it?

I would like to know if I am connect another person (say jack) on Facebo开发者_如何学Cok or Orkut using an API. I should be able to use it on my web application.


@Bhasker, I think FB has not come up with such an API yet, so in case you want that for your application you might want to make your own graph database, lets say using Neo4j, and calculate if 2 people on FB are connected. Of Course the results would be less precise but you can still do it to a certain extent.


In facebook people are connect with friendship, so you can use facebook API or FBQL to know who you are connected with.

This is how you can get the list of your connect/friends:

$friends = $facebook->api_client->friends_get();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜