简体   繁体   English

我可以让签入我的Facebook活动的用户还是参加我活动的用户?

[英]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.

相关问题 为什么我的DropDownList更改事件无法工作? - Why can't I get my DropDownList change event work? 如何从我的 Keypress 事件中获得延迟? - How can I get delay from my Keypress event? 如何在不手动单击屏幕来激发事件的情况下进入我的事件处理程序? - How can I get inside my event handler without manually clicking the screen to stimulate an event? 如何将 Facebook Pixel 的事件添加到 React 站点中的按钮? - How can I add an event for the Facebook Pixel to a button in my site in React? 我可以创建自己的事件属性吗? - Can I create my own event attributes? 用户如何从我的服务器获取数据作为与Facebook的桥梁? - how users can get data from my server as a bridge to facebook? 我的服务器上发生事件时的Facebook通知 - Facebook notification when event happens on my server 我的Facebook活动的事件时间显示不正确(通过Javascript提交) - Event Time displaying incorrectly for my Facebook event (submitted via Javascript) 如何为选中和未选中的复选框设置事件处理程序? - How could I set up an event handler for my checkbox for checked and unchecked? 是否可以获取已触发的事件名称,以便可以在方法中将其用作字符串? - Is it possible to get the event name thats been triggered so I can use it as a string in my method?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM