简体   繁体   English

使用REST API登录android中的facebook

[英]Login to facebook in android using REST API

I develop facebook application in android i want to log in to facebook via HTTPClient , teh user give me username and password and then i connect to facebook.com/login 我在android中开发facebook应用程序我想通过HTTPClient登录到facebook,用户给我用户名和密码然后我连接到facebook.com/login

i want to make like this code 我想做这样的代码

Facebook: Getting Incorrect Signature (104) when Getting Session Key Facebook:获取会话密钥时获取不正确的签名(104)

but in android, i tried to do that but when i get the session, a XML contain invalid parameter returned 但在android中,我试图这样做但是当我得到会话时,XML包含返回的无效参数

can any one help me? 谁能帮我?

Facebook released an official SDK for Android applications. Facebook发布了适用于Android应用程序的官方SDK。 See this post on their developers blog. 在他们的开发者博客上查看此帖子

You might want to try implementing the Android Facebook:Connect Library: http://wiki.developers.facebook.com/index.php/User:Android 您可能想尝试实现Android Facebook:Connect Library: http ://wiki.developers.facebook.com/index.php/User:Android

It's not official - but it seems fairly stable for most practical uses (allowing connecting and FQL queries, etc.) 它不是官方的 - 但对于大多数实际用途来说似乎相当稳定(允许连接和FQL查询等)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM