Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get a list of a Page's events?

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.

like image 472
Kenzie Avatar asked Apr 27 '12 17:04

Kenzie


People also ask

What are Facebook page events?

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.

How do you find declined events on Facebook 2022?

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.


1 Answers

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.

like image 147
cpilko Avatar answered Sep 22 '22 08:09

cpilko