Is there any way to connect to the Facebook chat service without using the XMPP protocol? - facebook

I am trying to create an application that will basically be a Linux command line messenger app just for Facebook chat. When you connect to facebook chat using the XMPProtocol, you can send instant messages to all of your friends but you can only see the messages from the friends that appear online. If an offline friend sends you a message, you do not see it. I have tested this with various chat programs (like pidgin) that are using XMPP to connect to facebook chat.
There is an iPhone app called "Messenger" that allows you to send and receive instant messages even when your friends appear to be offline. How is this possible? Do you have to use some other protocol? I tried making a research about this, and while there were many references about XMPP basically having this limit, there was no reference about how you solve this problem. I'd appreciate any clue regarding the direction I should look (may that be just the name of a protocol, an open source project that has this feature etc).

chat and inbox are two faces of the same Facebook backend ...so i mean you can read message sent by your Facebook friends by Graph Api http GET as this ... https://graph.facebook.com/me/inbox?access_token=xxxxxx

Related

Ejabberd : Disable request Accept/Cancel to chat with another user

Currently, I'm developing a iOS/Web App but when testing the XMPP server with iMessage and Adium I see that they request each other to be able to chat. as well a Certificate Acceptance. I haven't start with XMPP development on Web and iOS. Will I still need to follow this steps? there is a way that everyone can chat with everyone?
In XMPP, people request each other to see the others in the contact list and to see the presence.
However, nothing in XMPP prevent a user from chatting from a user that is not in your roster. If you UI allow to start a chat based on a specific user JID, they can chat together.
The default is thus already to let everyone chat with everyone.

What is the alternative to using Facebook chat API now that Facebook will soon disable the XMPP API?

Now that Facebook will be completely disabling the XMPP service soon, how do I get around this? Will there be any possible way to send/receive messages in real-time? Do I need to run my own XMPP server?
I assume there is still a way to do this or else desktop apps like Trillian would have to stop offering Facebook connection.
Currently there is no other API that allows you to retrieve the user's chat information.

XMPP Multi User Chat

Hi using XMPP I have integrated with Facebook's Chat. I would like to know though if messages sent from a mutli user chat (MUC) in Facebook can also be handled? or is this client dependent?
I am using JsJac and at the moment any messages sent from a MUC are lost are never recieved by my app, any help?
Thanks in advance
See this - is group chat for facebook implemented in the API? . i try make MUC for my chat app, but i suggest that in this time this service unavailable yet in public using.

Making a chat room with Facebook authentication

I'm having a hard time figuring out how to create an embeddable online chat room that requires a Facebook authentication. I want the chat room to be public, allow users to log in with their Facebook accounts, and chat with each other using their Facebook identity(name). I know how to authenticate users into a website using FBML and FQL, but I don't know how to incorporate that concept in creating a chat room. Facebook Chat uses XMPP, so I looked up XMPP multi chat documentation, but I can't understand really well. I can do PHP and JavaScript(jQuery/JSON/etc). Can someone help me how to go about making such a chat room?
Building such a thing will not be possible until unless you hack your way around this. Not possible mainly because facebook still lacks federation i.e. as soon as fb chat servers sees -123456#chat.facebook.com trying to send a message of type "groupchat" to a MUC room jdev#conference.jabber.org, it will block this message stanza and not pass it on to the MUC room.
Hacking such a thing will involve writing your custom Jabber/XMPP components running at your own chat servers, which will then take care of outgoing messages of type "groupchat" from your system and re-route them appropriately to the MUC rooms. Jaxl IM is a project which does exactly the same thing and it uses Jaxl (Jabber XMPP Library in PHP) library for all such purposes.

How can I implement Facebook Chat on my site?

I'm developing a site with something similar to the Digg bar at the top. One of the features requested is a live chat using Facebook. Is it even possible to implement Facebook Chat on my site by using Facebook Connect or other methods? And if so, how?
[update] I've seen that it works with Pidgin and Adium, but what I'm looking for is a site based implementation (think AJAX & HTML living at the top of the page).
It appears that the Facebook team has at least begun, if not finished, implementing an xmpp/jabber interface for Facebook Chat. This would allow you to use any XMPP enabled client to connect to Facebook. That said, there's at least one javascript jabber client library available that I can find. Although, you may have to implement a proxy on your web server to allow the JS client to talk to the Facebook server.
Also, I'm not sure how they're doing it, but Meebo has managed to enable Facebook chat integration on their site with Facebook Connect. I haven't found anything mentioning it, but this functionality may be easily available through the Facebook Connect API (documentation).
To answer your question: Yes, it's possible.