https://github.com/fergm/twitter-tools
Toolkit for working with the twitter API
https://github.com/fergm/twitter-tools
Last synced: 18 days ago
JSON representation
Toolkit for working with the twitter API
- Host: GitHub
- URL: https://github.com/fergm/twitter-tools
- Owner: FergM
- License: other
- Created: 2022-05-08T11:32:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-08T15:38:52.000Z (about 4 years ago)
- Last Synced: 2025-03-02T06:13:56.631Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twitter Tools
Toolkit for working with the twitter API.
Builds on top of [`Twitter-API-v2-sample-code`](https://github.com/twitterdev/Twitter-API-v2-sample-code).
### Examples
See [Notebooks](./notebooks/)
### Setup
You need to get a token from twitter to authenticate requests to the api.
This repository assumes that you have made `TWITTER_BEARER_TOKEN` available as an environment variable.
Steps:
1. Create an accound on the [Twitter Developer Portal](https://developer.twitter.com/en/portal/dashboard)
2. Create a project and get a *Bearer Token*
3. Add the *Bearer Token* as an environment variable called `TWITTER_BEARER_TOKEN`