java 使用 REST API 在 android 中登录到 Facebook
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1860116/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Login to facebook in android using REST API
提问by Omnia
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
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?
谁能帮我?
回答by Amit Kotlovski
回答by FunnyLookinHat
You might want to try implementing the Android Facebook:Connect Library: http://wiki.developers.facebook.com/index.php/User:Android
您可能想尝试实施 Android Facebook:Connect 库: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 查询等)

