Skip to content

Small python program to tweet on twitter using twitter API

License

Notifications You must be signed in to change notification settings

malnafei/pytweet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pytweet

Small python program using twitter API to send tweets. This program will be improved with new features. please check To Do List

Todo list

  • send tweets.
  • send images.
  • get user object like (Nickname, Number of followers, followers list).
  • working with followers api.

Installation:

  • python2.7 Download link
  • You will need to install Python's tweepy library:

Tweepy library

pip install tweepy

You may also use Git to clone the repository from Github and install it manually:

git clone https://github.com/tweepy/tweepy.git
cd tweepy
python setup.py install

How to use?

  1. Download & Extract Pytweet.zip file.

  2. Edit tweet.py file using any code editor.

  3. You will need to create an app account on https://dev.twitter.com/apps

    1. Sign in with Twitter account (Don't use your own account)
    2. Create a new app account
    3. Modify the settings for that app account to allow read & write
    4. Generate a new OAuth token with those permissions
  4. Following these steps will create 4 tokens that you will need to place in the tweet.py file:

API_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
API_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
ACCESS_TOKEN = 'xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxx'
ACCESS_TOKEN_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxx'

5.Save tweet.py file and enjoy.

Example (Video)

ScreenShot

Have a problem?

If you're having issues with or have questions about the program Please open new issue or contact with me via Twitter @magic_coding

Conclusion

In Conclusion hope you enjoy with this small programe and don't forget to follow me to get more free open source programes.

License:

As of October 27, 2016 Pytweet is licensed under the GPLv3+: http://choosealicense.com/licenses/gpl-3.0

About

Small python program to tweet on twitter using twitter API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages