Skip to content

Instantly share code, notes, and snippets.

@tabvn
Created August 5, 2019 08:53
Show Gist options
  • Select an option

  • Save tabvn/eef1382e79f42f6e81f7966f5c7ee50f to your computer and use it in GitHub Desktop.

Select an option

Save tabvn/eef1382e79f42f6e81f7966f5c7ee50f to your computer and use it in GitHub Desktop.
query tineline {
timeline(filter: "everyone", limit: 10, offset: 0) {
id
timeline {
id
entityType
entityId
entity {
__typename
... on User {
id
username
avatar
}
... on Group {
id
name
avatar
}
}
}
feed {
__typename
... on Share {
id
body
created
activity{
id
entityId
feed{
...on Post{
id
body
files{
id
name
mimeType
url
}
}
}
}
author {
id
username
avatar
isOnline
}
timeline {
id
entity {
__typename
... on User {
id
username
}
... on Group {
id
name
avatar
}
}
}
}
... on GroupMember {
id
isBlocked
created
group {
id
name
avatar
}
user {
id
username
isOnline
isVerified
}
}
... on Post {
id
body
postType
created
updated
pinned
commentCount
author {
id
username
avatar
isOnline
isVerified
}
files {
id
name
mimeType
url
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment