Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 810 Bytes

04-creating_twitterbot.md

File metadata and controls

15 lines (9 loc) · 810 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. #DHRI @psmyth01 @SteveZweibel")

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 >>>