A sample to publish a tweet in user timeline.
Python (2.7.3v)
Install (if you don't have it) Python:
sudo apt-get install python2.6
Install tweepy module using install.sh script
./install.sh
##Configure Python script
- Go to App developer twitter page and sign up with a twitter account.
- Create a new App
- Go to Permissions Page of createad App and change to Read and Write
- Go to Keys and Access Tokens and regenerate Consumer Key and Secret and also My Access Token and Token Secret
- Full config.py file with the return values
cat config.py.sample > config.py
Execute script with the parameters -u to set user destination (without @) and -m to set message
python tweet_xmas.py -u "CarlosMR1985" -m "Follow me"