__init__() got an unexpected keyword argument 'username


#1

i had integrate python twitter by using that four key which we are getting from twitter application
Now i want to access the perticular user account from my python-twitter module…

whenever i am using the

twitter.Api(username=‘abc’,password='xyz’
this is giving the error

mytwitteraccount = twitter.Api(username=‘abc’,password=‘xyz’)
TypeError: init() got an unexpected keyword argument ‘username’

Thanks


#2

Out of the box the API doesn’t support the exchange of username and password for credentials. Are you using xAuth? Perhaps the Streaming API?


#3