Twitter autofollow and direct message using python mechanize libgmail
Mar.27, 2009 in
Python
Requirements:
- a valid gmail account
- label your twitter follow notifications (E.g. I use TwitterFollow)
- mechanize : a stateful programmatic web browsing
- libgmail : a GA reverse engineered library
- python-twitter : a wrapper around the Twitter API
IMPORTANT: because Gmail does not provide an API and does not intend to do that because of the ads, hacking libgmail to fetch the threads is a VIOLATION of Gmail TOS. This script should be use for documentation only. For production please consider using POP3 or IMAP to fetch the threads. To avoid your account being suspended or locked run the script no more than twice a day.


March 31st, 2009 at 9:22 pm
[...] twitterul, care este un microblog, asemanatoare cu ce postasem anterior. Am pus articolul asta si asta. Eh surpriza, cum le-am pus mi s-au si sters. M-am uitat la reguli si am vazut ca sunt [...]
April 1st, 2009 at 9:51 am
[...] could also check Twitter autofollow and direct message using python mechanize libgmail which is basically achieving the same goal but operate differently using reverse engineering on [...]
April 7th, 2009 at 6:19 pm
[...] raduboncea.ro – same script in python together with direct message to those that follow you. digg_url = ‘http://www.rotorblog.com/2009/04/07/twitter-auto-follow-tools-and-scripts/’; [...]
April 8th, 2009 at 12:00 pm
[...] Raduboncea.ro – Same script, only this one is a python script and also sends a DM to those who follow you. [...]