![]() Serverless was the first “serverless” framework I ever used - then I experimented with others (Chalice, Zappa, AWS SAM), and I’ve found myself returning to Serverless. With the webhook in place, it was time to build the serverless application. Zapier is pretty bad ass - the UI parses out all this information for you, allows you to add all sorts of additional headers (helpful for specifying an API key later on), change the payload type, and oh yeah, test it as much as you need before going live. status: the actual tweet the user posted.status_id: also required for the response tweet.screen_name: so I knew who to in return, necessary for a response tweet.Setup is really straightforward - build a new Twitter application, create the appropriate keys, share them with Zapier, and voilà! With this configured, I now had a methodology that would listen for on Twitter, and when found, send a webhook to wherever I’d like, containing whatever data I wanted. I bite, because it has a native Twitter -> webhook integration. “… move(s) info between your web apps automatically, so you can focus on your most important work.” I’ve never heard of this service before, but it’s super intuitive to use and has an outstanding UI. Hooked on this notion of using webhooks instead of a streaming API, I scoured the internet and found Zapier. Unfortunately, that new API is in beta, and according to the sign up email I received, will take a few weeks to be approved. I originally went down the path of building an ECS service that would subscribe to the Twitter streaming API (similar to something I did here), but noticed that Twitter is deprecating the streaming API in favor of a new, webhook based workflow. (Want to be a member of the completely free preview? Just fill out this form!)Īs I was building this, I was on the fence with how to get the data out of Twitter. If you haven’t already, check out the features of this new service currently in preview mode out of us-east-1. Excited to find a use for the new Amazon Translate service from AWS, I finally decided on creating a Twitter bot that would translate tweets when a user would the bot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |