michaelliao/sinaweibopy — pull request #1 by shangrz (2012-08-02 16:42:24+00:00)
Title: oauth2模拟登陆输入用户名密码，授权 

你好：

模拟登陆输入用户名密码，授权
环境py2.66

例如：
client = APIClient(app_key=APP_KEY, app_secret=APP_SECRET, redirect_uri=CALLBACK_URL)
if client.imitateLogin(USERID,PASSWD):
print client.access_token ,client.expires_in
print 'auth oK!'
else:
print 'error'

Signed-off-by: rzshang@gmail.com