开发者

in Facebook API /me/events fails to get events that you have not responded to. why?

开发者 https://www.devze.com 2023-02-11 18:48 出处:网络
in Facebook API /me/events fails to get events that you have not responded to. why? Only events where I have clicked: maybe/no/yes does it show up in the graph api. How can I get 开发者_Go百科these e

in Facebook API /me/events fails to get events that you have not responded to. why?

Only events where I have clicked: maybe/no/yes does it show up in the graph api. How can I get 开发者_Go百科these events that I have not responded to?


Actually you can access the events you have received but not replied with this url (assuming you got the "user_events" permission): https://graph.facebook.com/me/events/not_replied


You can retrieve information about the events that a user has been invited to, but not responded to, using an FQL query like this:

SELECT eid,name,description,start_time,end_time,venue 
    FROM event 
    WHERE eid 
    IN (
        SELECT eid 
            FROM event_member 
            WHERE uid=me() 
            AND rsvp_status='not_replied'
       )


Looking at the docs, it seems that it's not possible to get the events that have not been flagged by the user.

Events: The events this user is attending

http://developers.facebook.com/docs/reference/api/user/

0

精彩评论

暂无评论...
验证码 换一张
取 消