Reputation: 2662
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?
Upvotes: 0
Views: 421
Reputation: 73984
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 facebook.com 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.
Upvotes: 2