Anonymous user
Twitter: Difference between revisions
no edit summary
imported>Jesstess |
imported>Jesstess No edit summary |
||
Line 105:
If you have time, try out some of these extra exercises.
=== 1. Customize how tweets are printed by <code>search</code> ===
Customize how tweets are displayed. Look at the <code>Status</code> and <code>User</code> classes in the [http://code.google.com/p/python-twitter/source/browse/twitter.py| Twitter code] for inspiration; options include the URL for the tweet, how many followers the sender has, the location of the sender, and if it was a retweet.▼
The tweets printed by <code>search</code> could look much nicer and have more useful metadata!
▲Customize how tweets are displayed. Look at the <code>Status</code> and <code>User</code> classes in
* the sender of the tweet
* the URL for the tweet
* how many followers the sender has
* the location of the sender
* if it was a retweet
and more!
|