Skip to content

Instantly share code, notes, and snippets.

@inky
Created April 8, 2009 14:16
Show Gist options
  • Save inky/91786 to your computer and use it in GitHub Desktop.
Save inky/91786 to your computer and use it in GitHub Desktop.
>>> import twitter # http://code.google.com/p/python-twitter/
>>> t = twitter.Api(username='abc', password='def')
>>> status = t.PostUpdate('hurr I am tweet')
>>> print 'http://twitter.com/%s/status/%d' % (status.user.screen_name, status.id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment