Twitter: Difference between revisions

Content added Content deleted
imported>Jesstess
No edit summary
imported>Jesstess
No edit summary
Line 14: Line 14:
==Suggested exercises==
==Suggested exercises==


<ol>
<ul>
<li>
<li>
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.
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.
Line 40: Line 40:
http://code.google.com/p/python-twitter/ has examples of using oAuth authentication to make authenticated Twitter API requests.
http://code.google.com/p/python-twitter/ has examples of using oAuth authentication to make authenticated Twitter API requests.
</li>
</li>
</ol>
</ul>


[[Boston Python workshop 2/Saturday projects|&laquo; Back to the Saturday project page]]
[[Boston Python workshop 2/Saturday projects|&laquo; Back to the Saturday project page]]