Simple interface to allow people to quickly follow you on Twitter. Ideal for a kiosk/small laptop, user enters their credentials and it has them auto-follow you. Can optionally have you follow them.
- Download the code.
- Open twitter-follow.php and change the following constants
- TWITTER_RETURN_FOLLOW as true or false to also have your Twitter account follow them in return
- TWITTER_FOLLOWING to the desired Twitter username to have users follow.
- TWITTER_FOLLOWING_PASSWORD to the Twitter account password for the username to have followed. (Required only if TWITTER_RETURN_FOLLOW is true.)
- TWITTER_SCREEN_SIZE to adjust the overall screen size. (Default is 100, no % required.)
PHP 5.* and PHPCurl, plus a Twitter account to follow.
Written by Greg Leuch http://gleuch.com
License: Creative Commons NC-BY-SA.