views:

3134

answers:

2

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

i want to make like this code

http://stackoverflow.com/questions/1409220/facebook-getting-incorrect-signature-104-when-getting-session-key/1795229#1795229

but in android, i tried to do that but when i get the session, a XML contain invalid parameter returned

can any one help me?

+3  A: 

You might want to try implementing the Android Facebook:Connect Library: http://wiki.developers.facebook.com/index.php/User%3AAndroid

It's not official - but it seems fairly stable for most practical uses (allowing connecting and FQL queries, etc.)

FunnyLookinHat
Yes i know this library and i try it but its unofficial library, and limited and it use mobile browser to log in.my target is log in without using the browser like the example above in canyway thanks for ur replay and interest
Omnia
A: 

Facebook released an official SDK for Android applications.

See this post on their developers blog:

http://developers.facebook.com/blog/post/385

Amit