Friends
Where the signed-in user’s friends are out in a locale now.
Objects
Section titled “Objects”Friend
Section titled “Friend”Object · implements HasTribes
A Facebook friend of the signed-in user who also uses the app (from the user_friends permission).
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
Their profile photo. |
facebookId |
String |
The ID the audience’s Facebook app knows them by. |
id |
ID! |
Unique identifier. |
name |
String |
Display name. |
ping |
IUserPing |
The instance’s IUserPing mixin, when available. |
presence |
Presence! |
Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. |
sharedTribes |
[Tag!]! |
The tribes the signed-in user and they both identify with, for the “You’re both” mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. |
tribes |
[TribeIdentification!]! |
Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. |
FriendConnection
Section titled “FriendConnection”Object
The connection type for Friend.
| Field | Type | Description |
|---|---|---|
edges |
[FriendEdge] |
A list of edges. |
nodes |
[Friend] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
FriendEdge
Section titled “FriendEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
Friend |
The item at the end of the edge. |
FriendVenue
Section titled “FriendVenue”Object
A venue where some of the signed-in user’s friends have been lately, with how many.
| Field | Type | Description |
|---|---|---|
friendCount |
Int! |
How many of their friends are there. |
friends |
[Friend!]! |
Those friends, by name. |
venue |
Venue! |
Where they are. |
FriendVenueConnection
Section titled “FriendVenueConnection”Object
The connection type for FriendVenue.
| Field | Type | Description |
|---|---|---|
edges |
[FriendVenueEdge] |
A list of edges. |
nodes |
[FriendVenue] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
FriendVenueEdge
Section titled “FriendVenueEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
FriendVenue |
The item at the end of the edge. |
LocaleFriendsView
Section titled “LocaleFriendsView”Object · implements ILocaleFriends
The local Friends implementation for a locale: the viewer’s friends out at its venues.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intlast: Int |
FriendConnection! |
The signed-in user’s friends who have been at its venues lately, by name. |
venuesafter: Stringbefore: Stringfirst: Intlast: Int |
FriendVenueConnection! |
Its venues where those friends have been lately, most friends first, then by name. |
VenueFriendsView
Section titled “VenueFriendsView”Object · implements IVenueFriends
The local Friends implementation for a venue: the viewer’s friends there.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intlast: Int |
FriendConnection! |
The signed-in user’s friends who have been here lately, by name. |
Interfaces
Section titled “Interfaces”ILocaleFriends
Section titled “ILocaleFriends”Interface · implemented by LocaleFriendsView · mixin edge friends on Locale
Where the signed-in user’s friends are out in a locale now.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intlast: Int |
FriendConnection! |
The signed-in user’s friends who have been at its venues lately, by name. |
venuesafter: Stringbefore: Stringfirst: Intlast: Int |
FriendVenueConnection! |
Its venues where those friends have been lately, most friends first, then by name. |
IVenueFriends
Section titled “IVenueFriends”Interface · implemented by VenueFriendsView · mixin edge friends on Venue
Which of the signed-in user’s friends are at a venue now.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intlast: Int |
FriendConnection! |
The signed-in user’s friends who have been here lately, by name. |