Anonymous user
Twitter: Difference between revisions
no edit summary
imported>Jesstess No edit summary |
imported>Jesstess No edit summary |
||
Line 10:
* Get experience reading other people's code.
==
=== Download and install the <code>python-twitter</code> dependencies and library ===
Line 35:
You should see the text from 20 tweets containing the word "Python" printed to the screen. If you don't, let a staff member know so you can debug this together.
==
=== 1.
# Run <code>python twitter_api.py --search</code> with various search terms, e.g.
Line 45:
# Trace through the logic in <code>twitter_api.py</code> that turns the <code>--search</code> command line option into a call to <code>search</code>.
=== 2. Read through and understand <code>trendingTopics</code> ===
# Run <code>python twitter_api.py --trending-topics</code>
# Read through the <code>trendingTopics</code> function in <code>twitter_functions.py</code>.
# Trace through the logic in <code>twitter_api.py</code> that turns the <code>--trending-topics</code> command line option into a call to <code>search</code>.
=== 3. Implement <code>userTweets</code> ===
|