在没有WebView的情况下使用用户名和密码对mgtwitterengine进行身份验证 [英] authenthicate mgtwitterengine with username and password without webview

查看:108
本文介绍了在没有WebView的情况下使用用户名和密码对mgtwitterengine进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Ben Gottlieb的MGTwitterEngine和OAuth(https://github.com/bengottlieb/Twitter-OAuth-iPhone)的实现. 使用他的实现时,我将获得带有Twitter登录屏幕的Web视图,并且必须登录并授予该应用程序. 我可以自己进行身份验证吗?因此,请不要使用Web视图,而应使用代码并在表单中键入用户名和密码来完成所有操作.

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.

推荐答案

这可以通过使用Twitter的xAuth身份验证机制来完成.但是,这并不像您需要征询Twitter权限才能使用xAuth一样简单.

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.

这篇关于在没有WebView的情况下使用用户名和密码对mgtwitterengine进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆