theweekendgeek / twitter-service

service that fetches tweets from the Twitter API and saves them in a databse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter Service

Description

This service fetches tweets for a predefined list of users and stores them in a database. It is deployed automatically as a Google Cloud Function, which is triggered at regular intervals.

Current limitations

On every call the Tweet table is wiped and only the last 20 tweets for a given user are stored.

Todos

  • add more tests
  • get only new tweets since the last call
  • change the way the user ids are passed
  • add service account creation + function authorization to terraform
  • simplify handling of .env files
  • clean up old tweets

About

service that fetches tweets from the Twitter API and saves them in a databse


Languages

Language:Go 96.2%Language:HCL 2.6%Language:Makefile 0.7%Language:Shell 0.5%