Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Using the Twitter API

Understanding Twitter Results I

We've done a lot of work, but we still haven't seen any data from Twitter. Let's fix that!

The GetUserTimeline() method returns will return data from Twitter in the form of a Python list, so we can use a for loop to print out the tweets from the data we retrieved.

For example:

statuses = twitter_api.GetUserTimeline(screen_name=handle, count=200, include_rts=False) for status in statuses: print status
Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.