How to update an existing app using the old API?


#1

hi, are there any guides available on what is needed to upgrade an app using the old user stream API? Googling leads only to older articles pre-summer 2018 and the documentation on dev.twitter.com makes no sense to me :confused:

my existing bot using Twit (node wrapper for Twitter API):



#2

You’ll want to use the new Activity API instead of the old User Stream the guide is here: https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/overview

It’s a very different way of doing things. Maybe this example app can help? https://github.com/twitterdev/SnowBotDev (it’s in ruby though)


#3

thank you! In another conversation I was also advised to try https://glitch.com/~twitterbot-webhooks which is in node. Hopefully I can figure out the rest from there.