mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-12-22 21:38:44 +01:00
delete tweets
This commit is contained in:
parent
6f3b15d68b
commit
953dfe2642
20
.github/osia_tweet_clean.rb
vendored
Normal file
20
.github/osia_tweet_clean.rb
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
require 'delete_my_tweets'
|
||||
|
||||
c = {
|
||||
"consumer_key" => "X7TNI7gi1Bo3l3hRwShZr6Q5l",
|
||||
"consumer_secret" => "clafmSRaf7AnnusNMaZEhMajEESfhw3XTGBfTwlfgBcjwRSHcn",
|
||||
"access_token" => ENV['TWITTER_ACCESS_TOKEN'],
|
||||
"access_token_secret" => ENV['TWITTER_ACCESS_TOKEN_SECRET'],
|
||||
"filter" => {
|
||||
"exclude" => [
|
||||
"Add",
|
||||
"add"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
exit
|
||||
twitter_delete(c) do |o|
|
||||
puts o
|
||||
end
|
||||
puts 'all done 🐤'
|
@ -23,3 +23,5 @@ deployment:
|
||||
commands:
|
||||
- ruby .github/osia_convert.rb
|
||||
- ./.github/deploy.sh
|
||||
- gem install delete_my_tweets
|
||||
- ruby .github/osia_tweet_clean.rb
|
||||
|
Loading…
Reference in New Issue
Block a user