Basically you upload a PHP script to your server somewhere, doesn’t really matter where so long as you have access to cron jobs. This script will randomly pick a tweet from a list you supply and tweet it to your twitter account at the intervals you set. You can set it to every 6-12 hours it’s up to you but, remember not to tweet too often or you will risk your account being banned. We accept no responsibility for the loss of your account, use at your own risk. That being said as long as you don’t over do it, you should be fine.
How is this useful?
If you have twitter accounts for promotional purposes and tweet a lot of links to your profile it can run the risk of getting seen as a spam account and get suspended automatically, this script can help to mix things up a little by tweeting general tweets such as “Going down the gym”, having tweets without links will help make your twitter account look more genuine.
How do I set this up?
Download the file below and follow the instructions.
1. Open twitterscript.php using a text editor or anything you like and change:
// Set username and password
$username = ‘Your Twitter Username Here’;
$password = ‘Your Twitter Password Here’;
2. Upload the script somewhere within your hosting and set permissions to 755.
3. Go into your cpanel and create a cronjob using this command replacing with your details: curl http://www.your-site.com/your-directory/script-name.php
set it up to run every 6 hours example: */6 * * *
That’s it go to the directory to where you uploaded the script and you should see success!
I have included a html file with the tweets used in the script.
0 comments:
Post a Comment