fbchat-dev/fbchat

Getting fields from GraphQL

Open

#468 opened on Sep 1, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (406 forks)github user discovery
help wantedquestion

Repository metrics

Stars
 (1,210 stars)
PR merge metrics
 (PR metrics pending)

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

I'd like to know if there's a way to get all the fields? I've looked into introspection queries 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