1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2024-12-22 05:28:46 +01:00
App-Open-Source-per-iPhone-.../.github/osia_tweet_clean.rb
2016-08-15 12:45:54 -07:00

20 lines
526 B
Ruby

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"
]
}
}
DeleteMyTweets.twitter_delete(c) do |o|
puts o
end
puts 'all done 🐤'