fbchat-dev / fbchat-dev/fbchat

Getting fields from GraphQL

Open
#468 2 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
Python
Stars
1.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

## Description
I'm trying to figure out how to get all the fields from facebook's schema definition.

## Research
Currently, I can get data on a facebook group with the following fragment:
`QueryFragment Group: Group {
id,
name,
url,
description,
privacy_info {
icon_name,
label {
text
},
description
},
group_topic_tags,
discoverability_info {
icon_name,
description {
text
},
label {
text
}
}
}`
I know the fields from:

1. common sense
2. looking at network traffic on the browser
3. guessing names simular to [facebook-offical-graph-api](https://developers.facebook.com/docs/graph-api/reference/v4.0/group)

I'd like to know if there's a way to get all the fields?
I've looked into [introspection queries](https://stackoverflow.com/questions/37397886/get-graphql-whole-schema-query) without much success, but I'm not very experienced with GraphQL

Thank you for this repository, I've found a lot of usefull information and help from here!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.