[英]Can I get users that checked into my Facebook event or that are at my event?
Using Facebook's JavaScript API I can get my event and the rsvp status of all the attendees. 使用Facebook的JavaScript API,我可以获得我的活动和所有与会者的rsvp状态。
What I'd like to get is information on who checked into the event, or updated their status to say they were at the event. 我想要获得的信息是有关谁签到了活动,或更新了他们的身份以说他们参加了活动。
Status of person at my event: http://note.io/1maQlip 我的活动中人员的状态: http : //note.io/1maQlip
From what I can tell, I need to loop through the users checkins to see if they were at my event. 据我所知,我需要遍历用户签到,以查看他们是否参加了我的活动。 It doesn't seem like I can query the event for all the users that checked in. Is that true? 我似乎无法为所有签入的用户查询事件。是吗?
You can use the FQL table event_member to query for 您可以使用FQL表event_member来查询
https://developers.facebook.com/docs/reference/fql/event_member/ https://developers.facebook.com/docs/reference/fql/event_member/
An FQl query for you event is 您的FQl查询事件是
https://graph.facebook.com/fql?q=select+uid,+rsvp_status+from+event_member+where+eid=599978450080176&access_token={ACCESS_TOKEN}
You can use it via the JS SDK like this: 您可以通过JS SDK使用它,如下所示:
FB.api('https://graph.facebook.com/fql?q=select+uid,+rsvp_status+from+event_member+where+eid=599978450080176&access_token=' + access_token');
What you can't do without having the User's user_checkins permission is to crawl for everybody who checked in you Event, which you'd need to gather via an App. 没有用户的user_checkins权限,您无法做的事情就是为每个签入您活动的人进行抓取,您需要通过App进行收集。
Yes, I'm afraid there's no other options than looping through the users' checkins for the moment : / 是的,目前恐怕没有其他选择可以循环通过用户的签到:/
PS: @Tobi, this will return the list of attendees, not the list of users who checked in at the event (sorry, had to include this in my answer as I can't comment yet). PS: @Tobi,它将返回与会者列表,而不是在活动中签到的用户列表(对不起,由于我无法发表评论,因此必须将其包括在我的答案中)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.