authenthicate mgtwitterengine with username and password without webview

烂漫一生 提交于 2019-12-12 04:33:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!