本文介绍了Facebook FQL查询Event_member“Inviter”和“Inviter_type”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在的说明中,它表示列 inviter 应该告知我们有关在活动中邀请UID的用户或网页的ID,而 inviter_type 应该通知我们邀请者是用户还是页面。我已经尝试过这两个公共事件和我自己创建的事件,但是它总是失败。

In the description of the FQL event_member page, it says that the column inviter should inform us about the ID of the user or page who invited a UID at the event, and inviter_type should inform us about whether the inviter was a user or a page. I have tried these functions on both public events and an event that I have created myself, but it always fails.

这是一个bug,一个旧的功能,功能不起作用?

Is this a bug, an old function that works no more, or a new function that does not work yet?

推荐答案

似乎只有只有可以知道邀请谁

It seems that you only are allowed to know who invited you and how.

唯一的命令将使 inviter inviter_type 属性有用的是:

The only command that will make the inviter and inviter_type attributes useful is:

select eid, uid, inviter, inviter_type, rsvp_status 
from event_member where eid=EVENT_ID and uid=me()

在这种情况下,你正在寻找邀请你参加你被邀请到的活动的人!

In that case, you are exactly looking for the person who invited you to an event you've been invited to!

结果:

{
  "data": [
    {
      "eid": 3811052099231, 
      "uid": 1022369839, 
      "inviter": 1406101549, 
      "inviter_type": "user", 
      "rsvp_status": "attending"
    }
  ]
}

这篇关于Facebook FQL查询Event_member“Inviter”和“Inviter_type”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 19:27