Well, I found out that to use asmack on a desktop environment you need some classes of the android jdk… But now i’m on android using asmack connected to facebook via DIGEST-MD5 and it work flawlessly… you just need to add the line
I think my problem is that my sessions are not persisting between activities, authenticate with facebook in my main activity and then I go and try to xmpp authenticate in another activity.
I am trying to get it work anyway I can. MD-5 Digest is not working for me at all. I get a request failed every time. im using the 05.07 build of the jar and the code is really straightforward
ConnectionConfiguration config = new ConnectionConfiguration(“chat.facebook.com”, 5222, “chat.facebook.com”);
myConn = new XMPPConnection(config);
config.setSASLAuthenticationEnabled(true);
config.setDebuggerEnabled(true);
myConn.connect();
//username is straight username- no @gmail.com and no @chat.facebook.com
I used your file, and I get the challenge but when I construct a response to to the challenge keeps failing, I have set permissions as well. Everything seems ok, but I’m obviously making a mistake somewhere. Can you please help me? I’m coding on java, for android…
I created a chat for Android, the mechanism using X-FACEBOOK-PLATFORM. Using the library as access http://github.com/facebook/facebook-android-sdk. So until a few days ago, works great. Remove the secret from a json object that was attached to the successful response with the access token. The ‘secret’ password in the past as FacebookConnectSASLMechanism class.
Now unfortunately this object json disappears. Is no longer present in the successful response. Maybe facebook has changed something.
How can you get this secret? I tried but does not work with application secret. Could you help me? I’m in trouble
it worked awesome!..but a great prob is the users online are not visible…though i’m receiving their presence “available”…it seems my code is not appropriate…here’s a snap of it…eagerly waiting for reply…
hi everyone! I’m using this api for Processing (java based) and i want to know if there’s allready a simple sollution for this? Processing uses libraries and i’ve allready connected to G-talk. Could someone give me a hint? There’s some code between it for an Eliza bot.
Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibWFydG lqbm1lIixyZWFsbT0iY2hhdC5mYWNlYm9vay5jb20iLG5vbmNlPSJDRTVDOTYwQ0RBMzM0NjdGMTE4OU FGMzkzRkRCODU1MiIsbmM9MDAwMDAwMDEsY25vbmNlPSJVK1oxb1JyNk9sK3JudzJXZTR0d0hueFMrVG RqNDlXcUV0azZJQWhBIixkaWdlc3QtdXJpPSJ4bXBwL2NoYXQuZmFjZWJvb2suY29tIixtYXhidWY9Nj U1MzYscmVzcG9uc2U9OTY4MWVmOTkwNjUzNTBiNDFkNDQ0YzY0NTkxNjczMTkscW9wPWF1dGgsYXV0aH ppZD0ibWFydGlqbm1lIg==
Hello. How do you do. Please state your problem.b2F860
If you can connect to gtalk then you shouldn’t have any issue connecting to facebook using digest-md5. Just make you sure you have a proper facebook user ID (not your email address). You can get your username by logging into facebook and looking under account settings there will be something called “Username”.
I study art academy, Interaction Design, i’m combining a bot called Eliza(one of the first bots ever) together with facebook chat. I’m making a fake profile and let people interact with this person to check what are the results. After that i’m gonna modify the bot to an megalomaniac person and try to annoy people with it. The results i’m gonna make a book out of it.