Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 807 Bytes

creating_twitterbot.md

File metadata and controls

16 lines (9 loc) · 807 Bytes

<<< Previous | Next >>>

Creating a Twitterbot

Once you have the api.py script working, open it with your editor and try uncommenting some of the other lines at the bottom. You should be able to post a tweet to your account and to perform a Twitter search.

For example, to tweet out a message, remove the # symbols and extra space from the front of this line:

### api.update_status(status="Look at me! I'm tweeting this using APIs. #GC-DRI @SteveZweibel @davis_portela")

Once you're comfortable connecting to and using the Twitter API, you can use the twitterbot.py script in this repository to create your own Twitterbot! See the comments in twitterbot.py for more information.

<<< Previous | Next >>>