Skip to content

Facebook

The audience’s own Facebook Page, the Facebook apps its people sign in with, and finding Pages and Meta metro areas to link.

Field Type Description
facebook IAudienceFacebook! The instance’s IAudienceFacebook mixin. Left out of the schema where its module isn’t installed.
Operation Returns Description
refreshPage staffql only
input: PageRefreshInput!
PageRefreshPayload Refreshes a venue’s or person’s Page from Facebook now instead of waiting for the scheduled refresh. requires facebook:write:*

Object · implements IAudienceFacebook

The Facebook module’s view of an audience.

Field Type Description
apps
after: String
before: String
first: Int
last: Int
FacebookAppConnection! The audience’s Facebook apps, one per environment.
metroSearch staffql only
after: String
before: String
first: Int
last: Int
query: String!
MetaMetroConnection! Finds Meta metro areas (DMAs) to link locales to. Admins only. requires facebook:read:*
page Page The audience’s own Facebook Page. Its managers can run the audience’s console.
search staffql only
after: String
before: String
first: Int
last: Int
query: String!
FacebookSearchResultConnection! Finds Facebook Pages and profiles to link. Admins only. requires facebook:read:*

Object

The connection type for FacebookApp.

Field Type Description
edges [FacebookAppEdge] A list of edges.
nodes [FacebookApp] A list of nodes.
pageInfo PageInfo! Information to aid in pagination.

Object

An edge in a connection.

Field Type Description
cursor String! A cursor for use in pagination.
node FacebookApp The item at the end of the edge.

Object · implements IFacebookProfile

The Facebook module’s view of a venue, person or locale.

Field Type Description
facebookId String Its Facebook Page’s ID. A string: Page IDs overflow Int.
isLiked Boolean! Whether the signed-in user likes its Facebook Page.
link String Canonical Facebook Page, profile, or public group URL.
metro MetaMetro The Meta metro area a locale sits in, if linked.
page Page Its Facebook Page, if it has one; talent added by name has none yet.

Object · staffql only

A Facebook Page or profile that can be linked to talent.

Field Type Description
avatarUrl staffql only PhotoURL Profile picture.
category staffql only String Page category, e.g. Musician/band.
entityType staffql only String! page, profile, group, or unknown.
facebookId staffql only String! Facebook id, or the username when only that is known.
link staffql only String Facebook URL.
location staffql only String City and region of a Page with a location.
lookupSource staffql only String! facebook, manual, or staff (group confirmation).
name staffql only String Name on Facebook; null when Facebook would not share it.
readable staffql only Boolean! False when Facebook would not share this profile; linking it needs a name.
verified staffql only Boolean! Whether Facebook has verified the Page.

Object · staffql only

The connection type for FacebookSearchResult.

Field Type Description
edges staffql only [FacebookSearchResultEdge] A list of edges.
nodes staffql only [FacebookSearchResult] A list of nodes.
pageInfo staffql only PageInfo! Information to aid in pagination.

Object · staffql only

An edge in a connection.

Field Type Description
cursor staffql only String! A cursor for use in pagination.
node staffql only FacebookSearchResult The item at the end of the edge.

Object

A Meta metro area (a Nielsen DMA, Meta’s geo_market), as Facebook ad targeting names it.

Field Type Description
countryCode String Its country, e.g. US. Only on search results.
key String! Meta’s key for it, e.g. DMA:819.
name String Its name on Meta, e.g. Seattle-Tacoma (WA).

Object · staffql only

The connection type for MetaMetro.

Field Type Description
edges staffql only [MetaMetroEdge] A list of edges.
nodes staffql only [MetaMetro] A list of nodes.
pageInfo staffql only PageInfo! Information to aid in pagination.

Object · staffql only

An edge in a connection.

Field Type Description
cursor staffql only String! A cursor for use in pagination.
node staffql only MetaMetro The item at the end of the edge.

Object · implements HasBanner, HasPhoto, HasTimestamps, Node

A Facebook Page associated with a listing.

Field Type Description
about String The Facebook Page’s About text.
address String The Facebook Page’s address, on one line.
bannerUrl PhotoURL The banner’s CDN URL, if there is one.
category String The Facebook Page’s category, such as Gay Bar.
createdAt ISO8601DateTime! When the record was created.
facebookEntityType String! page, profile, or group.
facebookId String! Its Facebook ID. A string: Page IDs overflow Int.
facets String Facets associated with this Facebook Page.
id ID! Unique identifier.
lastUpdateError String Why Facebook refused the last refresh. Null when it succeeded.
link String The Facebook Page itself.
name String! Display name.
phone String The Facebook Page’s phone number.
photoUrl PhotoURL The photo’s CDN URL, if there is one.
syncedAt ISO8601DateTime When it was last refreshed from Facebook (or the refresh last failed).
updatedAt ISO8601DateTime! When the record was last updated.
website String The website the Facebook Page links to.

Object · staffql only

Autogenerated return type of PageRefresh.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
page staffql only Page! The Page. lastUpdateError says why Facebook refused, if it did.

Input · staffql only

Autogenerated input type of PageRefresh

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
id staffql only ID! The Page ID.

Interface · implemented by Location, Page, Photo, Venue

An object with a profile photo.

Field Type Description
photoUrl PhotoURL The photo’s CDN URL, if there is one.

Interface · implemented by AudienceFacebook · mixin edge facebook on Audience

The audience’s own Facebook Page, the Facebook apps its people sign in with, and finding Pages and Meta metro areas to link.

Field Type Description
apps
after: String
before: String
first: Int
last: Int
FacebookAppConnection! The audience’s Facebook apps, one per environment.
metroSearch staffql only
after: String
before: String
first: Int
last: Int
query: String!
MetaMetroConnection! Finds Meta metro areas (DMAs) to link locales to. Admins only. requires facebook:read:*
page Page The audience’s own Facebook Page. Its managers can run the audience’s console.
search staffql only
after: String
before: String
first: Int
last: Int
query: String!
FacebookSearchResultConnection! Finds Facebook Pages and profiles to link. Admins only. requires facebook:read:*

Interface · implemented by FacebookProfile · mixin edge facebook on ListingProfile

What Meta says about a listing: a venue or person’s Facebook Page, or a locale’s Meta metro area.

Field Type Description
facebookId String Its Facebook Page’s ID. A string: Page IDs overflow Int.
isLiked Boolean! Whether the signed-in user likes its Facebook Page.
link String Canonical Facebook Page, profile, or public group URL.
metro MetaMetro The Meta metro area a locale sits in, if linked.
page Page Its Facebook Page, if it has one; talent added by name has none yet.