The audience’s own Facebook Page, the Facebook apps its people sign in with, and finding Pages and Meta metro areas to link.
Root fields
Section titled “Root fields”| Field | Type | Description |
|---|---|---|
facebook |
IAudienceFacebook! |
The instance’s IAudienceFacebook mixin. Left out of the schema where its module isn’t installed. |
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
refreshPage staffql onlyinput: PageRefreshInput! |
PageRefreshPayload |
Refreshes a venue’s or person’s Page from Facebook now instead of waiting for the scheduled refresh. requires facebook:write:* |
Objects
Section titled “Objects”AudienceFacebook
Section titled “AudienceFacebook”Object · implements IAudienceFacebook
The Facebook module’s view of an audience.
| Field | Type | Description |
|---|---|---|
appsafter: Stringbefore: Stringfirst: Intlast: Int |
FacebookAppConnection! |
The audience’s Facebook apps, one per environment. |
metroSearch staffql onlyafter: Stringbefore: Stringfirst: Intlast: Intquery: 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 onlyafter: Stringbefore: Stringfirst: Intlast: Intquery: String! |
FacebookSearchResultConnection! |
Finds Facebook Pages and profiles to link. Admins only. requires facebook:read:* |
FacebookAppConnection
Section titled “FacebookAppConnection”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. |
FacebookAppEdge
Section titled “FacebookAppEdge”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. |
FacebookProfile
Section titled “FacebookProfile”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. |
FacebookSearchResult
Section titled “FacebookSearchResult”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. |
FacebookSearchResultConnection
Section titled “FacebookSearchResultConnection”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. |
FacebookSearchResultEdge
Section titled “FacebookSearchResultEdge”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. |
MetaMetro
Section titled “MetaMetro”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). |
MetaMetroConnection
Section titled “MetaMetroConnection”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. |
MetaMetroEdge
Section titled “MetaMetroEdge”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. |
Mutation payloads
Section titled “Mutation payloads”PageRefreshPayload
Section titled “PageRefreshPayload”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. |
Inputs
Section titled “Inputs”PageRefreshInput
Section titled “PageRefreshInput”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. |
Interfaces
Section titled “Interfaces”HasPhoto
Section titled “HasPhoto”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. |
IAudienceFacebook
Section titled “IAudienceFacebook”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 |
|---|---|---|
appsafter: Stringbefore: Stringfirst: Intlast: Int |
FacebookAppConnection! |
The audience’s Facebook apps, one per environment. |
metroSearch staffql onlyafter: Stringbefore: Stringfirst: Intlast: Intquery: 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 onlyafter: Stringbefore: Stringfirst: Intlast: Intquery: String! |
FacebookSearchResultConnection! |
Finds Facebook Pages and profiles to link. Admins only. requires facebook:read:* |
IFacebookProfile
Section titled “IFacebookProfile”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. |