Wednesday, August 18, 2010

Increase Twitter Followers Using PHP

Twitter is blooming these days, as you see more and more peoples and companies are joining and sharing there thoughts and updates instantly on twitter.There are many twitter advertising companies that tweet there advertisement through your tweet account (obviously you have to sign up with them and give them access to your account).Any one who use twitter knows well the importance of followers the greater the followers the greater is the chance that your voice is get heard and greater is the chance you get more relevant advertisement and make more money while you tweet.

People usually follow those who have large number of followers, usually it is difficult to have a large twitter followers base in the beginning.

there are services on the internet that offer different packages to increase number of followers so why spend your hard earned money on them, In order to get you quickly on track you can make some fake twitter accounts, once you make them there is no need to open you each account and individually follow your base account (the account you want to be followed).

i had written a small PHP program some time ago that will do the job, here it is.

<?php

set_time_limit(0);

$YOUR_USERNAME="ACCOUNT_WISHED_TO_BE_FOLLOWED";

$IDS="some1@company.com,some2@company.com,some3@company.com";

$PASSWORD ="SECRET_PASSWORD";

$arr=explode("",$IDS);

$total_no_of_twitter_ids=count($arr);

for($i=0;$i<$total_no_of_twitter_ids;$i++){

 echo ($i+1)." : ".trim($arr[$i])." -> "; 
 echo twitter_api_follow($YOUR_USERNAME,$arr[$i],$PASSWORD); 
 sleep(2);

}

function twitter_api_follow($YOUR_USERNAME,$ID,$PASSWORD){

 $ch = curl_init("http://twitter.com/friendships/create/" . $YOUR_USERNAME . ".json");
 
 curl_setopt($ch, CURLOPT_USERPWD, $ID.":".$PASSWORD);
 
 curl_setopt($ch, CURLOPT_POST, 1);
 
 curl_setopt($ch, CURLOPT_POSTFIELDS,"follow=true");
 
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
 
 $twitter_api_response = curl_exec($ch);
 
 return $twitter_api_response;

}

?>

if you are too lazy to write the code yourself you can download it form the link mentioned below.

1 comments:

Anonymous said...

It is not working with me.

is it still working with you?

Post a Comment

 

Blog Info

A Pakistani Website by Originative Systems

Total Pageviews

Tutorial Jinni Copyright © 2015 WoodMag is Modified by Originative Systems