I'm new to the FB graph and having trouble getting a collection of Events associated with a Page. Is there any way to get a list of all the events created by a Page?
I've tried these unsuccessfully:
https://graph.facebook.com/search?type=event&place=PAGE_ID
This isn't a valid query.
https://graph.facebook.com/PAGE_ID/events
Returns an empty set, I think because it's looking for events this Page is attending (rather than those it has created).
Thanks.
What Is Facebook Events? Facebook Events is a tool that allows users and business pages to create dedicated landing pages for their events. On each of your event pages, guests can learn more, RSVP, and interact with your brand and other guests.
To see past or declined events, press "upcoming" in the event overview to change the filter. You can also chose if you would like to show repeating and declined events in the overview.
https://graph.facebook.com/PAGE_ID/events
is the correct way to get a list of events that was created by a page. You need a valid access token to return the events list for a page.
Visit https://developers.facebook.com/tools/explorer test this process.
I'm seeing a bug with events created after Monday, April 23 where all events are not being returned by a valid Graph API or FQL call. See this post for more info: Graph API / FQL Does not return all events for a page
I don't have bug creating privileges on https://developers.facebook.com/bugs/. If you're seeing the same issue and can post a bug, please do so.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With