Facebook FQL Query Event_member “Inviter” and “Inviter_type”

后端 未结 1 1676
孤独总比滥情好
孤独总比滥情好 2021-01-05 07:40

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 even

相关标签:
1条回答
  • 2021-01-05 08:14

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

    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!

    Result:

    {
      "data": [
        {
          "eid": 3811052099231, 
          "uid": 1022369839, 
          "inviter": 1406101549, 
          "inviter_type": "user", 
          "rsvp_status": "attending"
        }
      ]
    }
    
    0 讨论(0)
提交回复
热议问题