Changeset b3b0c9c
- Timestamp:
- 04/24/2009 10:57:11 AM (16 years ago)
- Branches:
- master
- Children:
- c01b5ba
- Parents:
- fc1853a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
de.wigbels.ruby/rmallyourtweets/rmallyourtweets.rb
rfc1853a rb3b0c9c 1 #!/usr/bin/env ruby 1 #! /usr/bin/env ruby 2 3 # remove all your tweets; 4 # basically, if you want to keep your account 5 # 6 # adapted from http://blog.johnwyles.com/articles/2009/01/06/destroying-deleting-and-erasing-old-twitter-tweets/ 2 7 3 8 require 'rubygems' … … 6 11 7 12 8 # foo13 # auth yourself 9 14 httpauth = Twitter::HTTPAuth.new('YOUR_USER', 'YOUR_PASSWORD') 10 15 twitter = Twitter::Base.new(httpauth) 11 16 12 # bar17 # go for complete deletion 13 18 twitter.user_timeline("since:2004-01-14").each do |s| 14 19 twitter.status_destroy(s.id)
Note:
See TracChangeset
for help on using the changeset viewer.