Twitter

Intro

You can track all your tweets (including retweets) and likes using the Twitter integration.

Data points

The following data points are available for this integration:

Data pointDescription
tweetsTweets
likesLiked tweets
.stethoscoperc.yml
integrations:
spotify:
frequency: "daily"
tweets: true
likes: true

If you want to enable all data points, you can simply use all instead:

.stethoscoperc.yml
integrations:
spotify:
frequency: "daily"
all: true

Authorization

First, create a new Twitter application on https://developer.twitter.com/en/apps/create. Then, copy its API key and API secret key.

After that, head to the "Keys and tokens" tab and under "Access token & access token secret", click on "Generate". Copy the Access Token and Access Token Secret.

Environment variables

When the tokens are generated, you can set the following environment variables:

Environment variableDescription
TWITTER_API_KEYAPI key
TWITTER_API_SECRET_KEYAPI secret key
TWITTER_ACCESS_TOKENAccess token
TWITTER_ACCESS_TOKEN_SECRETAccess token secret
TWITTER_SCREEN_NAMETwitter username
Twitter