Question: Get list of events user is attending on Facebook


Get list of events user is attending on Facebook

Answers 1
Added at 2017-01-01 20:01

I'm trying to get list of events my friend / user attends. This info is publicly visible through Facebook pages.

I'm making a request to /userid/events but it returns empty array of results, though user does have upcoming events and calling /me/events is working. (all is ran in graph explorer)

I couldn't find any documentation about any limitations or required permissions to explain why it's not working e.g. this link

Is it a bug? How to workaround it?

nr: #1 dodano: 2017-01-02 09:01

You can use /userid/events with a user who auzhorized your App, but using /me/events is recommended. Either way, just because stuff is public on does not mean you can get it with the API. You always need to authorize users before you can get any data, for privacy reasons.

In other words: It´s not a bug, there is no workaround, it´s not possible without user authorization.

Source Show
◀ Wstecz