Skip to content

mehowthe/serverless-tweetbot

Repository files navigation

serverless-tweetbot

Tweeter bot for #noServerNovember challange.

Respond to tweets mentioning this bot -> recognizing animals on attached images

How-to

  • Twitter Developer Account - create account and setup new app (follow documentation) (stage name is dev)
  • Setup values in config.js
  • setup AWS account - create S3 bucket and update custom.bucket name in serverless.yaml
  • deploy application with serverless deploy (assuming you have installed serverless)
  • Make two calls to Twitter API (using API Gateway)
    • register webhook triggering GET request to webhookRegister lambda function - note down id of a created webhook
    • subscribe to Twitter feed triggering POST request with param webhookId=ID_OF_YOUR_WEBHOOK
  • Post a tweet with image @mentioning your bot and check reply!

Used technologies

Author

About

Tweeter bot for #noServerNovember challange.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published