问题
I am using Ben Gottlieb his implementation of MGTwitterEngine and OAuth (https://github.com/bengottlieb/Twitter-OAuth-iPhone). When I use his implementation, I get a webview with a twitter loginscreen, and I have to login and grant the application. Is it possible to do the authentication myself? So don't use the webview, but do it all in code, with username and password typed in a form.
回答1:
This can be done by using Twitter's xAuth authentication mechanism. This is however not as simple as you need to ask Twitter permission to use xAuth.
来源:https://stackoverflow.com/questions/4473951/authenthicate-mgtwitterengine-with-username-and-password-without-webview