Tweeter bot for #noServerNovember challange.
Respond to tweets mentioning this bot -> recognizing animals on attached images
- 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.bucketname inserverless.yaml - deploy application with
serverless deploy(assuming you have installed serverless) - Make two calls to Twitter API (using API Gateway)
- register webhook triggering
GETrequest towebhookRegisterlambda function - note down id of a created webhook - subscribe to Twitter feed triggering
POSTrequest with paramwebhookId=ID_OF_YOUR_WEBHOOK
- register webhook triggering
- Post a tweet with image @mentioning your bot and check reply!
- Serverless framework
- AWS Lambda
- AWS S3
- AWS Rekognition
- Michal Durkalec drkr24@gmail.com