Android中的Twitter登录身份验证? [英] Twitter Login Authentication in Android?

查看:24
本文介绍了Android中的Twitter登录身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须进行登录身份验证才能发布推文.我从 此链接.据我搜索,xAuth 身份验证更有效.但是我还没有得到任何简单的教程或登录验证代码.我找到了 这篇文章 并使用了此代码.这就是 NullPointerException.

I have to do Login Authentication to post the tweets. I got the Jtwitter.jar and SignPost.jar file from this link. As far as i searched, the xAuth Authendication is more efficient. But i did not get any simple tutorial or piece of code for Login Authendication yet. I found this Article and used this code. thats get NullPointerException.

我创建了客户密钥和秘密密钥,还使用了获取 jar 站点的代码.这会得到验证错误.

I created the customer key and Secret key also used the code where got the jar site. That gets Verification Error.

请分享一些想法或步骤来验证用户的用户名和密码?

Please Share some idea or steps to follow to verify the username and password of the user?

我想从用户帐户发帖.无论是 Jtwitter 还是 Oauth,你更喜欢使用 Api 什么?并告诉我 How-toRelated Articles ?

I want to post to from the user's account. what do you prefer to use the Api whether Jtwitter or Oauth? and Tell me How-to or Related Articles ?

推荐答案

这里是在 Android 中为 Twitter 实现 OAuth 的绝佳示例

heres is a excellent example to implement OAuth for Twitter in Android

http://github.com/brione/Brion-Learns-OAuth 作者:布里昂·埃姆德

http://github.com/brione/Brion-Learns-OAuth by Brion Emde

这是视频

JTwitter是基本认证,避免8月16日的OAuthocalypse twitter认证即将改变http://www.4psmarketing.com/blog/world-cup-2010-delays-twitter-oauthocalypse

JTwitter is for basic autentication, Avoid the OAuthocalypse in August 16th twitter aunthentication is about to change http://www.4psmarketing.com/blog/world-cup-2010-delays-twitter-oauthocalypse

这篇关于Android中的Twitter登录身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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