GroundsocialDocs

API · Facebook

GET /facebook/events/{id}

A public Facebook event: when, venue, description, hosts, tickets, responses.

RequestGET /v1/facebook/events/{id}
Operation idfacebook.event.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A public Facebook event: when, venue, description, hosts, tickets, responses.

Path parameters

NameTypeRequiredDescription
idstringyesEvent id or facebook.com/events/<id> URL. Example: 1649516750156210.

Responses

StatusMeaningSchema
200The event.FacebookEvent
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The ad, Page or advertiser is not in the Meta Ad Library.Error
429Too many requests. Wait for Retry-After seconds.Error
503Facebook is temporarily unavailable. Retryable; nothing was charged.Error

FacebookEvent fields

FieldTypeDescription
idstring
namestring | null
urlstring | null
day_time_sentencestring | nullWhen, as the event page words it.
start_timestampinteger | nullStart, Unix seconds (UTC).
is_canceledboolean
is_pastboolean
is_onlineboolean
event_kindstring | null
event_placeobjectVenue: name, contextual_name, location (latitude, longitude).
one_line_addressstring | null
event_descriptionobject | null
event_creatorobject
event_hosts_that_can_view_guestlistobject[]The hosts (name, url, picture).
event_buy_ticket_urlstring | null
discovery_categoriesobject[]
responded_countinteger | nullPeople who responded going or interested.

Errors use one shape everywhere; see Errors for every code and what to do.