any free auto-tweet tools?

Code:
<?php
$tuser_arr = array("twitteruser1", "twitteruser2", "twitteruser3", "twitteruser4", "twitteruser5", "twitteruser6", "twitteruser7", "twitteruser8", "twitteruser9", "twitteruser10");
$password = 'twitter_passwd'; //all 10 accs use same passwd

function RandomLines($filename){
    $lines = file($filename);
    return $lines[array_rand($lines)];
}

foreach ($tuser_arr as $username) {
    $r_line = RandomLines('tweets.txt'); //file with list of tweets
    $url = 'http://twitter.com/statuses/update.xml';
    $curl_handle = curl_init();
    curl_setopt($curl_handle, CURLOPT_URL, "$url");
    curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
    curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl_handle, CURLOPT_POST, 1);
    curl_setopt($curl_handle, CURLOPT_POSTFIELDS, "status=$r_line");
    curl_setopt($curl_handle, CURLOPT_USERPWD, "$username:$password");
    $buffer = curl_exec($curl_handle);
    curl_close($curl_handle);
}

?>

set it as cronjob to run every ~15 - ~25 m
enjoy

my good I gona sell it for 50$ if anyone ever will ask something similar
Use brains and twitter api
 
Code:
set it as cronjob to run every ~15 - ~25 m
enjoy

my good I gona sell it for 50$ if anyone ever will ask something similar
Use brains and twitter api[/QUOTE]
THANKS! :D You're awesome
 
When running the scrip I get this:
Fatal error: Call to undefined function: curl_init() in \\192.168.0.16\webfiles\files\2009-4\3074931\Auto.php on line 13
not very good with php anybody knows what it means?
maybe no curl support of hosting...
 
i sort of get what the php BUT my php skills are 2/10 so a little how to would be good my black hat brother
 
Heads up....twitter gave notice to stop their recurring tweet scheduler...so feature doenst exist anymore GDM! twitter is going hard...

anyone knows a soft. or online service for recurring tweets like hourly or daily???
any
Posted via Mobile Device
 
Surely industry is running out of such tool . There are few but they are paid.:(
 
When running the scrip I get this:
Fatal error: Call to undefined function: curl_init() in \\192.168.0.16\webfiles\files\2009-4\3074931\Auto.php on line 13
not very good with php anybody knows what it means?
maybe no curl support of hosting...

Yeah you need to contact your hosting support and have them enable cURL for you
 
I've got one, was going add spintax to it before I shared it but will share it now if its in demand...
 
for non skilled programers one free wp plugin bit.ly/siX1BN

hope it help
 
Back
Top