How to log in to twitter without Oauth for a script?
To use OAUTH with python-twitter I need to register a web app, website etc. The program I have is for personal use though. Since basic auth is now defunct and Oauth is not an option due to the requirements is there a work around to log in 开发者_如何学编程to twitter using a script?
I can't imagine that Twitter would alienate everyone who does not have a website/web app from logging in to twitter from a script that is for personal use.
If you register your Twitter app as a "Client" app instead of a "Browser" (aka web) app, you can create an application without the need for a live web app. (Note: you'll still have to store an OAuth key.)
Here is a down-and-dirty resource for how it all works and how to accomplish this.
Edit: maybe something like this can help you if you're just looking to fill out a quick personal project.
If you want to access resources at Twitter, even if they are your own, and even if it is just for a "personal script" -> you have to use oAuth.
精彩评论