DEV Community

Discussion on: How to build and deploy a multifunctional Twitter bot

Collapse
 
stellarstoic profile image
StellarStoic

Thank you for your time writing such an extensive article.
But since I'm a n00b in JS and coding in general, I still have no idea how can I grab certain data from the nonTwitter API and tweet this data with my bot. The address where my data is is @ flysafe.klv.si/mobile/flights .But the bot will only tweet if the flight is longer then 100 km. Do I have to parse the data first or the twitter stream API is all I need?

Collapse
 
spences10 profile image
Scott Spence

Hey @simplepotato thanks for taking the time to read through it.

It is quite an extensive post going over the examples which I hope gives you a better understanding of how to use the API.

It has been a while since I have done anything with the Twitter API so I'm not sure I'm the best person to ask my friend.

If it is a case of logic on some of the data then maybe add some conditional logic before it gets to the tweet?

Collapse
 
stellarstoic profile image
StellarStoic • Edited

It surely gave me better understanding about bots. One of the best post out there. Well im going to figure it out the one way or another ☺ Thanks

Thread Thread
 
spences10 profile image
Scott Spence

Good luck 💪