-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGetProfileSocialStatistics.graphql
47 lines (46 loc) · 1.18 KB
/
GetProfileSocialStatistics.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Query to list which profiles who follows a supplied profile.
query getProfileSocialStatistics($profileId: ID!) {
# Use profile() along with followers()
profile(
# Supply the profile to query
id: $profileId
) {
# Whether the profile requires followers to be approved before being able to
# view listed content of the profile
autoApproveFollows
# Identify profiles that follow this profile
followers(
# Follower status is restricted to Approved when request is not authorised
# As a profile owner, you can view additional status: Pending, Denied
status: Approved
# Pagination controls for relay "cursor connections"
first: 10
) {
# List of the follower details
nodes {
id
__typename
name
bio
}
# Total Followers
totalCount
}
# Identify which profiles this profile is following
following(
status: Approved
# Pagination controls for relay "cursor connections"
first: 10
) {
# List of the follower details
nodes {
id
__typename
name
bio
}
# Total Following
totalCount
}
}
}