rt-graph
Visualize the network of retweeters for any given tweet.
I made this because Casey Liss mentioned that he wanted some
way to browse the retweeters of his tweet. So I decided to make that.
Turns out Twitter doesn’t make the required information available through
their API, so this is dead in the water.
Usage
- Get the ID of the tweet. (It’s the 819714525519872000 in
https://twitter.com/caseyliss/status/819714525519872000)
- Go to http://mattmahn.github.io/rt-graph
- Enter the tweet ID
- Click “Graph!”
- Be amazed
Development / Deployment
Dependencies
Getting Started
- Fetch the application:
git clone git@github.com:mattmahn/rt-graph
cd rt-graph
yarn install
- Create a new Twitter app.
- Set the consumer key & secret either in
config/local.toml or as the
TWITTER_CONSUMER_KEY and TWITTER_CONSUMER_SECRET environment variables.
- Get your app’s bearer token by running
scripts/fetch_bearer_token.js and
set it like above.
- Start the application:
yarn start
TODO
- [ ] Everything.
- [ ] Make sure styling is still pretty
- [ ] Option to only show verified users
- [ ] Open tweet in new tab when clicking on node
- [ ] Show additional meta information about [re]tweets when hovering over
nodes
- [ ] Security best practices
- [ ] Performance best practices
License
MIT, see LICENSE.