Update your Twitter profile picture regularly to remove the blue checkmark. This tool uses your current profile picture, so no new image will be uploaded.
- You must have an active Twitter Developer account and an app registered on developer.twitter.com to obtain the
API_KEY
andAPI_SECRET
.
Download the binary from the release page, build your own binary file, or run directly with go run main.go
.
The program will prompt you to enter your API Key and API Secret.
You will be redirected to the Twitter OAuth page. Authorize the app, and you will be redirected to a page indicating successful authentication.
A twitter_token.json
and a credentials.json
file will be created.
Whenever you run the program again, it will check for the existence of credentials.json
and twitter_token
.json files.
Set the value of credentials.json
as a repository secret named CREDENTIALS
.
Set the value of twitter_token.json
as a repository secret named TOKEN
.
I'm not really a tech savvy but I want to remove the blue checkmark as well and how do I do it?
- Sign up for a basic twitter Twitter developer account here. You can ask ChatGPT for the use case by, let's say, exploring Twitter API
- You will be redirected to the dashboard. On project app, click on the setting button, go to
Keys and tokens
tab, and click theRegenerate
button. Save the value of theAPI Key
andAPI Key Secret
- Make sure that you already have a GitHub account and logged in. On the top of the page of this repository, click
Fork
- You will be redirected to the forked repository. Click on
Actions
tab, and click onI understand my workflows, go ahead and enable them
- On the left pane, there is an item called
Run
withdisabled
text next to it. Click on that and there will be a warning messageThis scheduled workflow is disabled because scheduled workflows are disabled by default in forks
. Click onEnable workflow
- Download the binary file from the release page with the suitable OS and architecture
- Double click or run the downloaded binary from the terminal, it will prompt your
API Key
andAPI Key Secret
that you obtain from step 2 - Double click or run the downloaded binary from the terminal again. If it went well, it will open up a browser asking your authorization to an app but if it doesn't, check the terminal and you will see an URL that you need to open
- After you authorized the app with your Twitter account, you will be redirected to a page indicating successful authentication and a
twitter_token.json
and acredentials.json
file will be created. - Open both file with a text editor, then On the top of the repository, click on
Settings
, then click theSecrets and variables
drop down, and click onactions
- Click on
New repository secret
, fill theName *
withCREDENTIALS
, and fill theSecret *
with the content of thecredentials.json
file - Repeat the same step with
twitter_token.json
with the nameTOKEN
- Go back to
Actions
tab, chooseRun
on the left pane, then click onRun workflow
to test if the authentication token is can be used