Skip to content

Instantly share code, notes, and snippets.

@PhillJaySaw
Created April 30, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhillJaySaw/31ff67f18b2f69a7359a8e10aa7f225c to your computer and use it in GitHub Desktop.
Save PhillJaySaw/31ff67f18b2f69a7359a8e10aa7f225c to your computer and use it in GitHub Desktop.
{
resolve: `gatsby-source-twitter`,
options: {
credentials: {
consumer_key: "INSERT_HERE_YOUR_CONSUMER_KEY",
consumer_secret: "INSERT_HERE_YOUR_CONSUMER_SECRET",
bearer_token: "INSERT_HERE_YOUR_BEARER_TOKEN",
},
queries: {
nameofthequery: {
endpoint: "statuses/user_timeline",
params: {
screen_name: "gatsbyjs",
include_rts: false,
exclude_replies: true,
tweet_mode: "extended",
},
},
},
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment