1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I automate Twitter posts?

Discussion in 'Social Networking Sites' started by Sente, Jun 6, 2010.

  1. Sente

    Sente Junior Member

    Joined:
    Sep 21, 2009
    Messages:
    193
    Likes Received:
    19
    Is there a way to load 100 tweets into something and have them post every X days or Y hours? That way I can do it once a week, not every time!
     
  2. thefallendevelopment

    thefallendevelopment Junior Member

    Joined:
    Aug 19, 2008
    Messages:
    170
    Likes Received:
    161
    Occupation:
    Crankin out sites
    Location:
    In the Caddy Shack
    hootsuite.com
     
    • Thanks Thanks x 2
  3. crashed

    crashed Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 13, 2008
    Messages:
    958
    Likes Received:
    1,198
    Occupation:
    Guru-slayer
    Location:
    Behind the VPN...
    Home Page:
    Or if you want something desktop based PM me as i've got my own custom programmed software.
     
  4. Sente

    Sente Junior Member

    Joined:
    Sep 21, 2009
    Messages:
    193
    Likes Received:
    19
    Wow. HOOTSUITE rocks! Very powerful!

    I stumbled across socialoomph earlier and it looks likes HS puts it to shame. THANKS!
     
  5. Darkone

    Darkone Junior Member

    Joined:
    Jul 11, 2009
    Messages:
    189
    Likes Received:
    21
    Code:
    <?php
    // Set username and password
    $username = 'AccountName';
    $password = 'Password';
    // The message you want to send
    
    srand ((double) microtime() * 10000000); 
    $input = array ("Say Stuff Here Replace in similar format with quotes and a comma", "like this");  
    
    $num = array_rand($input); 
    $message = $input[$num];
    
    // $message = 'still writing new blog posts';
    // The twitter API address
    $url = 'http://twitter.com/statuses/update.xml';
    // Alternative JSON version
    // $url = 'http://twitter.com/statuses/update.json';
    // Set up and execute the curl process
    $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=$message");
    curl_setopt($curl_handle, CURLOPT_USERPWD, "$username:$password");
    $buffer = curl_exec($curl_handle);
    curl_close($curl_handle);
    // check for success or failure
    if (empty($buffer)) {
        echo 'message';
    } else {
        echo 'success';
    }
    ?>
    Upload to your server make multiple copies put them on multiple servers bla bla, make sure its a .php file then set up a cron job to execute as often as you want.

    I like doing this with go daddy free domains 10 accounts per free domain hosting server, so you dont have 100 accounts pumping out cpa links from one server ip.

    hope it helps, has been shared here before. ^ my little spin
     
    • Thanks Thanks x 1
  6. user217

    user217 Newbie

    Joined:
    Apr 6, 2008
    Messages:
    10
    Likes Received:
    0
    Home Page:
    I was actually thinking about writing something like this. But I'll check out hoot first I think...
     
  7. daja29

    daja29 Junior Member

    Joined:
    Jan 9, 2010
    Messages:
    105
    Likes Received:
    14
    is there anyway to upload tweets to hootsuite?
     
  8. justin

    justin Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 15, 2007
    Messages:
    505
    Likes Received:
    392
    Does this work anymore? Twitter changed there authentication APIs from 30th June. I too need some kind of script to automatically update statuses :(
     
  9. user217

    user217 Newbie

    Joined:
    Apr 6, 2008
    Messages:
    10
    Likes Received:
    0
    Home Page:
    The API still works fine, all my accounts are posting properly.
     
  10. Nugget16

    Nugget16 Registered Member

    Joined:
    May 30, 2010
    Messages:
    81
    Likes Received:
    19
    Occupation:
    Student, Writer
    Location:
    Vancouver, Canada
    Can Hootsuite set automated tweets every X minutes without simply putting each individual tweet in each day? Like upload 100 tweets have them repeat as long as you want? If so, I am unsure where this option is.
     
  11. berardo

    berardo Newbie

    Joined:
    Apr 20, 2010
    Messages:
    8
    Likes Received:
    1
    socialoomph dot com is good alternative
    or twitt er attack in sell section
     
    Last edited: Jul 2, 2010
  12. berardo

    berardo Newbie

    Joined:
    Apr 20, 2010
    Messages:
    8
    Likes Received:
    1
    sorry socialoomph dot com
    mispelled above