Created
December 2, 2019 02:24
-
-
Save aydenp/26a6cb134caa08417863a26b469f097f to your computer and use it in GitHub Desktop.
Remove profile photo and banner from twitter (since there's no longer a UI for removing profile photo)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Twitter = require('twitter'); | |
// fill in: | |
var client = new Twitter({ | |
consumer_key: '', | |
consumer_secret: '', | |
access_token_key: '', | |
access_token_secret: '' | |
}); | |
(async () => { | |
await client.post("account/remove_profile_image", {}); | |
await client.post("account/remove_profile_banner", {}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment