DEV Community

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

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.