Add Social Media Analytics

X

  1. Go to the X Developer Dashboard.
  2. Create a project and an application.
  3. Add the environment variables below.
.env
TWITTER_API_KEY=your_api_key
TWITTER_API_SECRET=your_api_secret_key
TWITTER_ACCESS_TOKEN=your_access_token
TWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret
  1. Install Necessary Packages
Terminal
bun add twitter-api-v2

Github

YouTube

Twitch

Discord

LinkedIn

Published: Feb 22, 2024
Join my newsletter to stay updated about the latest I'm working on and share resources I've come across.