Periodically collect data about my Twitter account and check in to github to preserve an audit trail.

Twitter audit trail backup

This repository backs up my follower list, following list, blocked accounts list and muted accounts list periodically using GitHub Actions.

Set up

This code currently uses both Twitter v1 and v2 APIs. v2 API is currently behind a manual approval process.

  1. Fork this repository.

  2. git rm *.txt and commit.

  3. Create a Twitter app.

  4. Go to Repository Settings → Secrets and add secrets from your Twitter app:

    • TWITTER_BEARER_TOKEN
    • TWITTER_CONSUMER_KEY
    • TWITTER_CONSUMER_SECRET
    • TWITTER_TOKEN_SECRET
  5. See .github/workflows/update.yml and modify the cron schedule (in UTC) as you see fit.

  6. Commit and push. Once the time arrives, the cron would work, and commit the lists into .txt files and push the changes.

Owner
Ahmet Alp Balkan
Senior software engineer at Google Cloud, on cloud-native technologies: Kubernetes/GKE and Cloud Run.
Ahmet Alp Balkan
Similar Resources

twitter clone front-end for Internet Engineering course - fall 99 built by go+echo

twitter backend build twitter-like back-end for internet engeering course - fall 99 with go+echo+gorm team mates Roozbeh Sharifnasab + Parsa Fadaee +

Nov 9, 2022

Twitter backend - Golang

Twitter backend - Golang

A Twitter-like Website This repository contains the backend code for the final project of Fall 2020 Internet Engineering course. In this project,

Nov 26, 2022

A REST API microservices-based Twitter Clone server.

Simple API Twitter Clone A REST API microservices-based project to fetch, edit, post, and delete tweets. API documentation The API documentation is bu

May 13, 2022

Twitter ID Finder For Golang

Twitter ID Finder n文字の全数IDを探せます Usage $ make go build -o main main.go $ ./main Twitter ID Finder Creator: @_m_vt Digits: 2 Target IDs: 100 Really? [

Dec 12, 2021

Lambda stack to turn off and destroy all resources from your personal AWS Account to avoid billing surprises

Lambda stack to turn off and destroy all resources from your personal AWS Account to avoid billing surprises

AWS, Turn off my Account, please Lambda stack to turn off and destroy all resources from your personal AWS Account to avoid billing surprises Resource

Oct 25, 2022

Self-service account creation and credential reset for FreeIPA

Self-service account creation and credential reset for FreeIPA

Auri Auri stands for: Automated User Registration IPA Auri implements self service account creation and reset of credentials for FreeIPA Features Requ

Dec 21, 2022

Lookup or replace AWS account IDs with their names and vice versa

awsacc A trusty helper for working with AWS account IDs. Working with AWS account IDs often involves more manual effort than necessary. Often account

Oct 14, 2021

Download tracks with free account

Spotify This module works with Spotify free accounts. It can download individual tracks. It downloads the audio files served by Spotify's servers and

Feb 22, 2022

Spotify account generator, just for fun purpose.

go-spotify-account-generator Spotify account generator, just for fun purpose. Install $ go get github.com/HamzaAnis/go-spotify-account-generator How

Dec 16, 2022
Comments
  • Change readme to reflect access token instead of bearer token

    Change readme to reflect access token instead of bearer token

    The code uses access token and it seems bearer token is a leftover from previous versions.

    See here: https://github.com/ahmetb/twitter-audit-log/blob/master/tool/main.go#L38-L41

  • Settings Inquiry

    Settings Inquiry

    I am new to scraping and I am just wondering how is your code still scraping actual data from your Twitter account and the settings aren't set? By settings I mean these keys and tokens

    TWITTER_BEARER_TOKEN
    TWITTER_CONSUMER_KEY
    TWITTER_CONSUMER_SECRET
    TWITTER_TOKEN_SECRET
    
  • updates checkout, go, go-setup versions, adds new commit

    updates checkout, go, go-setup versions, adds new commit

    Love the simplicity of this approach. Thanks! Few version updates (e.g. go update address known vulnerabilities):

    • actions/checkout from v2 to v3
    • actions/setup-go from v1 to v3
    • go from v1.14 to v1.19

    Swaps bash script on result commit to EndBug/add-and-commit@v9 action and commit message with incremental run number

  • fix action config file link

    fix action config file link

    ./github/workflows/update.yml linked to https://github.com/ahmetb/twitter-audit-log/blob/master/github/workflows/update.yml caused 404 error.

    Proper link should be /.github/workflows/update.yml

A console based twitter client for displaying tweets from twitter lists
A console based twitter client for displaying tweets from twitter lists

About I follow a bunch of people who span a bunch of topics and wanted a way to keep track of all the cool stuff they post. I figured there would cert

Oct 6, 2022
wtf? paranormal twitter.com activity using Twitter Cards. Migros.tr #DoITYourself

GTKE - go-tweet-kart-ele wtf? paranormal twitter.com activity using Twitter Cards. Migros.tr #DoITYourself Just for fun. Go. # You have go. go install

Dec 7, 2021
Twitter - Twitter API with oauth in Golang

twitter: Twitter API with oauth in Golang Installation and Usage Install go get

Jan 7, 2022
An app/container built in Go to automate a Twitter account using Notion

Notion Tweeter Notion Tweeter is a utility I built using Go to help automate scheduling my tweets using Notion as a backend. More documentation coming

Sep 26, 2022
rpCheckup is an AWS resource policy security checkup tool that identifies public, external account access, intra-org account access, and private resources.
rpCheckup is an AWS resource policy security checkup tool that identifies public, external account access, intra-org     account access, and private resources.

rpCheckup - Catch AWS resource policy backdoors like Endgame rpCheckup is an AWS resource policy security checkup tool that identifies public, externa

Dec 26, 2022
Account - Ant Chain ACCOUNT SDK for Go

English | 简体中文 Ant Chain ACCOUNT SDK for Go Requirements It's necessary for you

Jan 13, 2022
Azure Data Lake Storage Account Share 9p File System

dlfs Azure storage account (data lake) v2 as a 9p file system. Fork of abfs. Written in Go. Created during the 2021 MS hackathon. Build Currently the

Oct 15, 2021
Go Twitter REST and Streaming API v1.1

go-twitter go-twitter is a Go client library for the Twitter API. Check the usage section or try the examples to see how to access the Twitter API. Fe

Dec 28, 2022
A Go client library for the Twitter 1.1 API

Anaconda Anaconda is a simple, transparent Go package for accessing version 1.1 of the Twitter API. Successful API queries return native Go structs th

Jan 1, 2023
Scrape the Twitter Frontend API without authentication with Golang.

Twitter Scraper Twitter's API is annoying to work with, and has lots of limitations — luckily their frontend (JavaScript) has it's own API, which I re

Dec 29, 2022