Let's try flask, twitter api and graylog
- Docker
- docker-compose
- First, check docker-compose file, add you own twitter keys (lines 11~14);
- In docker-compose file, edit the graylog external uri (line 47)
- ./run.sh
- Access graylog in your browser and install extras/content_pack.json
- (Optional) Import extras/postman_collection.json in your postman to make api calls
Method | URI | Name | Description |
---|---|---|---|
GET-HEAD | /tag/STRING | GetByTag | Get the last 100 tweets by tag |
GET-HEAD | /highfollower | HighFollower | Get top 5 followed users from tweets given by a static array of tags |