A website use ‘login via twitter’. Just like this site use facebook. How do I log in and get login cookies for the website (using python), if I know twitter username and password?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In general , Twitter doesn’t support ‘username’ and ‘password’ Authentication. Now, Twitter uses OAuth2 for authentication. There are python-twitter libraries available for this. such as : https://github.com/simplegeo/python-oauth2
This could be helpful to You: http://abhi74k.wordpress.com/2010/12/21/tweeting-from-python/