nileshpoman / asmack

Automatically exported from code.google.com/p/asmack
Other
0 stars 0 forks source link

X-FACEBOOK-PLATFORM SASL authentication mechanism #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What are you doing to produce the error?
1. I can't seem to get the authentication mechanism working. Is there any way 
you could help me? 

Original issue reported on code.google.com by nzan...@gmail.com on 4 Aug 2010 at 7:56

GoogleCodeExporter commented 9 years ago
I've just merged an experimental / untested FB auth mechanism from jabbroid / 
fbgc, test will be done till sunday, code is @ github.

Original comment by rtreffer@gmail.com on 26 Aug 2010 at 6:40

GoogleCodeExporter commented 9 years ago
that's for smack right? not asmack...

Original comment by nzan...@gmail.com on 26 Aug 2010 at 8:41

GoogleCodeExporter commented 9 years ago
Partially, it is my smack fork for asmack. Some patches were too big ...

Original comment by rtreffer@gmail.com on 26 Aug 2010 at 8:54

GoogleCodeExporter commented 9 years ago
will wait for your new release of asmack then..

Original comment by nzan...@gmail.com on 26 Aug 2010 at 9:03

GoogleCodeExporter commented 9 years ago
When do you plan on releasing a new version of asmack to support facebook 
connect?

Original comment by mtpow...@gmail.com on 30 Aug 2010 at 6:41

GoogleCodeExporter commented 9 years ago
Will you be updating this project with the new patches for asmack?

Original comment by nzan...@gmail.com on 3 Sep 2010 at 9:41

GoogleCodeExporter commented 9 years ago
Is there any update on this? I have tried to get the code from github but, 
being new to programming in general, am not having much luck building it.

Having it in the main .jar on the download page would be great.

Original comment by wildbeat...@googlemail.com on 13 Sep 2010 at 11:17

GoogleCodeExporter commented 9 years ago
Is there a resolution to this yet?

Original comment by mtpow...@gmail.com on 21 Sep 2010 at 1:17

GoogleCodeExporter commented 9 years ago
Hello, I have managed to build asmack from the code at github. Although I'm not 
sure what I need to pass to connection.login() and in what order.

At the moment I am using connection.login.(applicationKey, sessionKey, 
appSecretKey) but am getting a 503 error. I have no idea if these are right or 
even in the right order.

Would you be able to point me in the direction?

Thankyou.

Original comment by wildbeat...@googlemail.com on 1 Oct 2010 at 4:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Just an update. I have got it running using x-facebook-platform, however I 
can't seem to get the session_key since xmpp facebook chat uses the old rest 
api and doesn't support the new o-auth token.

Original comment by nzan...@gmail.com on 14 Oct 2010 at 4:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I can start the challenge with the server but when I send the response, always 
I get a failure response with the message "non-authorized" from the server. I 
don't know why this happens because I'm sending the correct info. The session 
key of the o-auth token is the middle part between the | characters. Here is 
explained: http://forum.developers.facebook.net/viewtopic.php?id=93219

I've attached the mechanism code. I hope someone can fix this, because I need 
to add the chat support to my project.

Original comment by adrih...@gmail.com on 21 Mar 2011 at 4:31

Attachments:

GoogleCodeExporter commented 9 years ago
the error: non-authorized  I saw it say something null..,you can see the asmack 
opensouce code..

Original comment by zengqin...@gmail.com on 31 Mar 2011 at 3:17

GoogleCodeExporter commented 9 years ago
Finally, I could login to the chat. Using this REST API methdo As I've seen, 
the secret key is asked for login to the chat is not the secret key of you app. 
Is the session secret key that you can retrieve with this REST API method: 
http://developers.facebook.com/docs/reference/rest/auth.promoteSession/. The 
file I attached before should work passing the access token, the session key 
and the session secret key obtained with that method. And the session key is 
the second part of the access token.

Original comment by adrih...@gmail.com on 18 May 2011 at 10:21

GoogleCodeExporter commented 9 years ago
I am following the andrian connection procedure to connect facebook using 
asmack library 

http://stackoverflow.com/questions/5317329/xmpp-with-java-asmack-library-support
ing-x-facebook-platform/6394816#6394816
 still getting error sasl authetication fail using x-facebook-mechanics.
i have given APIkey from application
secret key from BBBB part of access token 
session key is retrive using old rest API but still getting error.

Original comment by kdeep...@gmail.com on 20 Jun 2011 at 5:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi all I wanna ask is updated asmack available now ? As I am using 
asmack-2010.05.07 it have problems in reconnection when the internet reconnect 
on my android device.I read that latest smack coming with reconnection solution 
on android devices . . .as asmack using smack in core.I will be thankful for 
detailed answer . .   

Original comment by tonasiri...@gmail.com on 1 Jul 2012 at 1:43