2017-04-22 71 views
1

我能够得到使用Facebook SDK所有与会者的名单,Facebook Graph API - 获取参加活动的朋友吗?

FB.api("/{event-id}/attending", 
    function (response) { 
    if (response && !response.error) { 
     /* handle the result */ 
    } 
    } 
); 

我需要找回我的朋友谁出席使用图形API的事件。 有一种方法可以通过FQL来实现,但我不知道如何实现它。

我需要使用Java脚本的解决方案。

+1

即通过API是不能直接被留下。 (现在,FQL已经过去了_年。) – CBroe

回答

0

看来你首先需要获得出席该事件的所有用户的列表和过滤 - 因此,只有用户的朋友应在本表

https://graph.facebook.com/v2.10/event-id/?fields=attending