Skip to content

Instantly share code, notes, and snippets.

@hktechn0
Created November 24, 2009 21:01
Show Gist options
  • Save hktechn0/242212 to your computer and use it in GitHub Desktop.
Save hktechn0/242212 to your computer and use it in GitHub Desktop.
Test script of impersonation from ~ on twitter
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import twitter
#==============================
# Settings
USER = ""
PASS = ""
#==============================
api = twitter.Api(username = USER, password = PASS)
api.SetSource("movatwitter")
print "What are you doing?:",
postmsg = raw_input()
ret = api.PostUpdate(postmsg.decode("utf-8"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment