DEV Community

twitter-replies-parser - A Tool for Converting Twitter Replies into JSON

Bryan Hughes on March 07, 2019

Some of my teammates and I recently asked Node.js folks on Twitter what tools they used and why the liked them. We're collecting this so we can hel...
Collapse
 
andypiper profile image
Andy Piper

One additional step you'll need here is to make the development environment name configurable (or, edit index.js line 52 to match the name for the 30-day search environment you've created in the Twitter Developer portal). You could actually simplify the auth code here too, since Bearer Token only auth will work for the premium APIs; tweet_mode=extended should also not be needed, since the premium APIs should return full Tweets by default. I'll have a play :-) Thanks for sharing!

Collapse
 
nebrius profile image
Bryan Hughes

Good call on making the environment configurable, I just pushed a change with that.

As for redoing the auth flow, I'd be happy to look at a PR from someone else who reworkds. I'm done with the project I needed this tool for, and I'm kinda swamped the next few weeks.

Collapse
 
priteshusadadiya profile image
Pritesh Usadadiya

This is super useful. Thanks Bryan

Collapse
 
john_papa profile image
John Papa

This is really cool! Thanks for sharing