1
0
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:
Daniel Khamsing 2016-08-15 12:35:44 -07:00
parent 6f3b15d68b
commit 953dfe2642
2 changed files with 22 additions and 0 deletions

20
.github/osia_tweet_clean.rb vendored Normal file
View 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 🐤'

View File

@ -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