Facebook Now Supports Jabber/XMPP 174
supersloshy writes "Facebook Chat has so far only been meant to be used in a web browser, and instant messaging applications have had a hard time implementing its undocumented protocol. Today, Facebook is making this job much easier by enabling support for XMPP to access its chat service. AOL's AIM and the Empathy Instant Messenger are also including pre-set Facebook options, due to already supporting XMPP."
Here are instructions for setting up XMPP Facebook chat with popular instant messaging clients, including Pidgin and Adium.
Steam Chat (Score:5, Insightful)
Man, if steam chat would support jabber, I would be a step closer to combining all my communication to the same program. Valve probably wouldn't do it though :/
Re:Steam Chat (Score:4, Insightful)
Came here to post this, found out I was beaten by the FP. Are you listening Valve???
Somebody mod this up. Between gchat and steam, that covers 90% of my non-buisness e-socialization. Also it'd be nice to message the server admin on his phone to rcon in and reboot the server when he's not at his computer (never, it seems like).
Re: (Score:2)
By the way, do you Admin anywhere? If so, where? I'm sure I'd have notived by now, as when I call my upstream provider with an issue, they're right on it. People who ignore me lose my business.
Re: (Score:2)
Its a privately administered group of servers on someones colo box. When the game server goes down, or Valve releases a major TF2 update during quakecon (yes that happened this last year) shit gets broken and people's clients are updated but the server is not. I guess most game servers are rented out of a cloud but our situation is slightly different.
Re: (Score:2)
An admin looking down on a developer? hah!
Re: (Score:2)
Hm. I'm down to Live Messenger, Steam, Xbox Live and Skype... I ditched AIM since gmail's web interface does that now, and I only had a couple friends on it anyway. I hardly ever use Steam, although my friends know to use it to get my attention if I'm playing a game. Xbox Live has a web interface, and I don't check it often enough to really care for a 24/7 app.
So that leaves Live Messenger, Steam and Skype running at any given time. Pain in the ass, but not unmanageable I guess.
Re: (Score:2)
with a big blue button to start it.
Re: (Score:3, Funny)
Do not press this button.
No Kopete? (Score:2)
Re: (Score:3, Insightful)
They've included generic Jabber account details. You should be able to add Facebook to Kopete with this information. Is there really a need for specific step-by-step hand-holding for every client?
Re:No Kopete? (Score:5, Funny)
Re: (Score:2)
Is there really a need for specific step-by-step hand-holding for every client?
not really. In fact i've already added facebook chat it in kopete yestarday but there are many people who require it :p
Re: (Score:2)
To accommodate these users, Kopete/Pidgin/Adium/etc should all remove their now-legacy Facebook plugins and just have a Facebook option that prompts for the username and password and sets the particulars up automatically. Much like most of them handle Google Talk currently.
Re: (Score:2)
Pidgin can't do it, since it was never a "mainline" plugin in the standard distribution - can't remove that which was never there to begin with.
Re: (Score:2)
They've included generic Jabber account details. You should be able to add Facebook to Kopete with this information. Is there really a need for specific step-by-step hand-holding for every client?
Of course it is necessary for step-by-step instructions.
Haven't you ever helped anyone with a computer problem?
When you're catering to the lowest common denominator, step by step instructions are the bare minimum...
Screen shots are the norm and a video is the gold standard.
I consider myself knowledgeable and even I end up googling for step by step instructions when I'm stuck. [xkcd.com]
Re: (Score:2)
They havn't included Kopete, which is the default IM ckient in KDE, in the instruction. And I demand they include Kopete. :/
Maybe you and the seven other guys using KDE as your WM, and the two of you which still use Kopete, can get together and contrib that.
Re: (Score:2)
It doesn't work. Kopete fails to connect, instead getting some error from the server about an unsupported XMPP version.
Re: (Score:2)
It doesn't work. Kopete fails to connect, instead getting some error from the server about an unsupported XMPP version.
I get that error, too, and there was at least one other person on the mailing list that also got it. I don't think anyone has figured out why it happens (it isn't a KDE/Kopete version issue, apparently). The best guess so far is that it's a Facebook server problem.
plausible deniability at work (Score:3, Funny)
Re: (Score:2)
Re: (Score:2)
Federation? (Score:5, Interesting)
Now if only they'd setup federation so people can talk to those on Facebook from their own XMPP domain. This combined with Google Talk can bring XMPP near the critical mass of users necessary to finally abandon the proprietary protocols I've despised for so long. Good riddance Windows/MSN/Live Messenger! I look forward to the not-so-distant future where everyone can communicate on IM without having accounts with several non-interoperable IM networks. Wishful thinking?
Re: (Score:2)
Re: (Score:2)
I hope so too. Google didn't have federation at first, but eventually it got sorted and now it just works. I'll dance the day Yahoo adds a Jabber federation gateway to their IM.
Re: (Score:2, Informative)
Given that the interserver federation in xmpp doesn't scale well ( see http://about.psyc.eu/Jabber#Scalability [about.psyc.eu] ), I'm guessing the thought of federation is too scary an option for facebook. 60% of the packets in an xmpp network are presence packets and xmpp uses an extremely naive way of distributing these (i.e. it sends an xmpp presence message for each user in the buddy list, even if many of the users are on the same xmpp server and the presence packet could be only sent once for all of them and exploded
Re: (Score:3, Insightful)
If the XMPP protocol sucks, can't it be fixed? Surely the servers should be able to negotiate the latest supported version to enable new features.
Re:Federation? (Score:4, Insightful)
This probably wouldn't be too much of an issue if not many people have buddies on other xmpp servers, but could be disastrous if it becomes popular
No, that's not the issue. It's a problem if lots of people have multiple buddies on the same remote server. XMPP was designed to follow the email model, where you have lots of small servers (for a few people, maybe a company, possibly for users of an ISP who don't have another server they can use). In this case, it is entirely reasonable to send a copy of the presence stanza to each remote server. It's only if most of your contacts are on the same server, but it is not the server that you are using, where this is a problem. In that case, there will be some redundant server-to-server data.
Saying that this means that it 'doesn't scale well' is hyperbole to put it mildly. Even the article you link to doesn't say that, it simply says that it's possible to improve the scalability. I run a Jabber server with just a few users and, although my numbers for stanzas reflect theirs, they are misleading. Most presence stanzas that I receive are quite small compared to message and info-query stanzas, so the numbers are very different when you look at the total bandwidth used by each one. The shortest message stanza that I could find in my log was 20% longer than the longest presence stanza. A typical message stanza is 200-300% the size of a typical presence stanza.
Note that, if both servers support XEP-33, then this problem doesn't exist at all; they can use the extended addressing to send a single copy of the stanza to the remote server, without any modification to the client or the core protocol.
Re: (Score:2)
Well, MS and AOL committed to the gub'mint back in the 90's to cooperate and make their networks play nice with each others.
It's basically taken being made irrelevant to get XMPP support in AIM. A decade later neither AOL or Microsoft talk to each other but their users have found ways to talk around them.
Google's "chat" applications are a complete mess but at least you can talk to them with a non-google client. But what the hell is their deal, they support AIM, but not 3rd party XMPP servers?!
Not that it wo
Re: (Score:2)
What you don't like about Google chat clients is irrelevant in the scope of XMPP interserver communication. It's about clients and server talking XMPP; also with 3rd party servers.
And you can use any Jabber client to connect to Google server...yes, Google clients present contact list in particular way. But it's just a standard XMPP, serverside roster; heck, groups of contacts are supported since the beginning even though Google clients work only in flat view.
At last! (Score:2)
I look forward to finally having a standard protocol IM that I can avoid. Until than I'm forced to avoid IM using proprietary protocols.
No security (Score:5, Informative)
I couldn't help but notice the conspicuous instructions to "Uncheck TLS/SSL security" in each of the clients.
I really hope that doesn't come back to bite anyone in the ass, there's enough spam on other parts of Facebook already.
Re: (Score:3, Informative)
I couldn't help but notice the conspicuous instructions to "Uncheck TLS/SSL security" in each of the clients. I really hope that doesn't come back to bite anyone in the ass, there's enough spam on other parts of Facebook already.
Yeah--that's a big "What the fuck, facebook?"....in this day and age, it's tough to find XMPP software that flat-out doesn't support TLS. Even rolling your own in Python supports TLS...
Re: (Score:2, Insightful)
I would imagine adding TLS encryption for 400 MILLION users litterally overnight might be slightly taxing to their already overtaxed servers. They're adding something like 500,000 users a week (I shit you not, look at their statistics) so anything they can do to minimize server load without degrading service is probably a plus for them at this point.
Re: (Score:2)
Re: (Score:2)
Facebook's site specifically requests you let them know in advance if you're going to introduce 100,000 users or more so they can free up servers to handle the extra load [facebook.com]. So apparently the external client does put a noticeable load on their servers. I wasn't able to log in yesterday when they announced it due to demand. A "few percent" of 400 million still nets you between 1 and 4 million people.
Re: (Score:2)
I'm sure it will be fine. It's not like you can setup shop with a sniffer in a busy coffee shop and expect to get any traffic.
Re: (Score:2)
Where do you see spam on Facebook? I'm a pretty heavy user of the site, and besides 1-2 odd friend requests every month (usually devoid of info, not selling me something), I don't get anything unsolicited there.
Re:No security (Score:4, Interesting)
LOL. What would be the point in using encryption to connect to a server that is not trustworthy in the first place?
Besides: Is you e-mail encrypted?
And it’s far from the worst WTF.
The worst WTF is, that in order to use it, you have to give them your phone number!!!
Yeah right. What’s next? A body cavity search?
Luckily I don’t have to, so I won’t. Facebook can seriously just fuck right off!
Re:No DATA security (Score:2)
I was worried about this, too. I sniffed the connection, and it turns out that they use SASL during the authentication process - so your password is safe, though your communications are not.
At least I presume your data does not get encrypted - didn't test that...
Re: (Score:2)
Spammers like hijacking Facebook accounts so they can send spam to that person's friends.
Re: (Score:2)
The authentication is encrypted. This is exactly what "Allow Plaintext Authentication: no" means in the setup instructions.
Are you sure?
Normally, "use plaintext authentication" means that you send your password over the wire (regardless of encryption), compared to authentication mechanisms which do not require that your password ever leave your machine. This is wholly separate from whether or not the authentication is transported over SSL.
Re: (Score:2)
The authentication is encrypted. This is exactly what "Allow Plaintext Authentication: no" means in the setup instructions.
Btw, you know were authentication is not encrypted? POP3. Doesn't help spammers that much, does it?
Um, mail isn't sent through POP3.. it's fetched. Thanks for playing.
Re: (Score:2)
XMPP keeps getting more support (Score:3, Insightful)
Yet another IM. . . (Score:2, Insightful)
Just what the world needs. *Another* IM service. I suppose I can see Facebook's reasoning for doing this. . . they want to be a complete 'social' solution, and don't want to be reliant on MSN, AOL, Google, or anyone else for their IM service. I suppose, all things considered, that at least opening it up with XMPP is fairly 'enlightened' of them, but it really seems like the whole 'genre' of Instant Messaging platforms has been one big cluster-f**k since day one. If email worked like IM, we'd all have to hav
Re: (Score:3, Insightful)
and if IM worked like email we'd get messages all day long about how to make our penises bigger.
Re: (Score:2)
It does, if you ever bother to sign into your old ICQ account and leave it on for a day or two.
Re:Yet another IM. . . (Score:5, Interesting)
That's the whole point of XMPP. If all IM was XMPP then IM WOULD work like e-mail. For this to work, Facebook still needs to enable Federation but it's a huge step in the right direction. The world needs more XMPP networks. Once the number of XMPP IM users outnumber the users of legacy "cluster-f**k" proprietary protocols it will become common sense to drop the proprietary garbage in order to gain interoperability with everyone else. What a nice utopia that would be. :)
Re: (Score:2, Insightful)
What a nice utopia that would be. :)
More mindless chit-chat is the exact opposite of utopia.
Re: (Score:2)
Go play with your 8bit console, pops!
Re: (Score:2, Flamebait)
Re: (Score:2)
Actually, no. Enough free time that you can reasonably spend most of it in mindless chit-chat is the exact definition of utopia.
Re: (Score:3, Insightful)
You say mindless chit-chat, I say social interaction... Do you never just shoot the breeze with a friend? You know, just kick back and relax and chat about nothing in particular?
Re: (Score:2)
Just what the world needs. *Another* IM service. I suppose I can see Facebook's reasoning for doing this. . . they want to be a complete 'social' solution, and don't want to be reliant on MSN, AOL, Google, or anyone else for their IM service. I suppose, all things considered, that at least opening it up with XMPP is fairly 'enlightened' of them, but it really seems like the whole 'genre' of Instant Messaging platforms has been one big cluster-f**k since day one. If email worked like IM, we'd all have to have 10 email accounts.
Well, XMPP itself is an attempt to standardize that mess.
If Facebook does not talk with other XMPP servers, it's their own fault. Google Talk does, and many other XMPP account providers aswell.
Re: (Score:2)
If email worked like IM, we'd all have to have 10 email accounts.
My list of e-mail accounts goes to 11.
Re: (Score:2)
Just what the world needs. *Another* IM service.
Facebook already was another IM service. They had their instant messenger built into their website. The only difference is now you can access it via XMPP.
This is a very welcome change from my perspective. There are people who mostly contacted me via Facebook and Facebook chat. Being able to participate in chats with these people without using the chat system on the Facebook web page is very nice. (I understand there were other solutions to that problem, too - I didn't explore these, and am very glad to
Bitlbee and other gateways (Score:2, Interesting)
I'm surprised this hasn't already come up, considering this is geek central I would have hoped more people were using Bitlbee. Facebook has added this annoying caveat to being able to login via jabber: You must be able to login via a web browser on the same host as the one you're trying to setup jabber with; this rules out public Bitlbee and other gateway services, as well as boxes that don't have X installed on them (Facebook requires you use an 'approved' browser, meaning lo (e)l[inks|ynx] for you).
Logg
Re: (Score:2)
Last I checked, my password identified me as me, why the extra unnecessary step? Because they want you to actually read their shovelware app spam to make money.
That tin foil hat really suits you.
Re: (Score:2)
Localization problems (Score:2, Interesting)
bckwrds (Score:2)
I logged in with Pidgin.
Its weird everyone logs in with the username "bckwrds". Really - http://www.facebook.com/sitetour/chat.php [facebook.com]
Too bad SSL / TLS isn't supported.
Re: (Score:2)
Hello Dave.
Did you know that you just gave your facebook username to everyone? (although your privacy settings are pretty clamped down so it doesn't really matter.)
Remember long ago when you could choose a username (to replace the number in your profile URL with something human-readable)? While on the site you login with your email, apparently with XMPP you log in with that username. This is the first highly visible use of that name other than your profile's URL.
Re: (Score:2)
Oh, I'm stupid. I forgot that was my userid.
Kopete does not work (Score:2)
This would instantly allow me to use my usual desktop chat client to connect to non-tech people who I am friends with.
But, Kopete on Kubuntu 9.10 does not work. I get this error message:
"There was a negotiation error. Unsupported protocol version. XMPP 1.0 is required."
Is there a solution to this?
Re: (Score:2)
Re: (Score:2)
Found a partial solution. It is not XMPP based, but rather uses JSON to interface directly to Facebook.
It is in the Ubuntu repository as kopete-facebook. Install that package and you are good to go.
Re: (Score:2)
I have used Pidgin in the past, but since I am using KDE, I'd rather have a KDE application that integrates better with the desktop.
Re:changes (Score:5, Insightful)
Don't be that guy.
Re:changes (Score:5, Funny)
Re: (Score:2)
Re: (Score:2)
You've got to admit though he has a point about it being a big time sink. On the other hand, it's hard to explain to explain to someone why you don't get their pop culture TV reference and not come across as "that guy". I had to ask a friend the other day who Jack Bauer was, and the bad one-liner joke followed by the guy putting on his sunglasses "internet meme" actually came from one of those CSI shows :(
Re: (Score:2, Funny)
He's too busy writing a GUI interface in visual basic to see if he can track the killer's IP address.
Re: (Score:2)
Wish I had mod points for that. Ridiculous magically pre-existing GUI's for completely unexpected queries. Funny thing about movies, really.
Re: (Score:2)
Unfortunately that's a verbatim reference to a CSI: NY episode..
http://www.youtube.com/watch?v=hkDD03yeLnU [youtube.com]
Re: (Score:2)
PVR cards ftw.
Re: (Score:3, Insightful)
It meets (and exceeds) the basic functional requirements for a "television".
Re: (Score:2)
Re: (Score:2)
You are incredibly stupid. Does your mother still need to feed and dress you each morning?
Re: (Score:3, Insightful)
As if we need a reminder that we'll be mocked if we opt out of the all-seeing-eye brainwashing box by snow cone heads.
"all-seeing-eye brainwashing box" isn't by snow cone heads, it's by Magnavox...
Anyway, the mockery isn't directed at people who don't watch TV, it's directed at people who act superior because they don't watch TV...
Re:changes (Score:5, Funny)
dude, dissing FaceBook on ./ AND getting modded Troll for it is an awesome feat!
Re: (Score:2)
Re: (Score:2, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Insightful)
does that mean you have no friends too? ;)
I don't, for instance. I only have people I hate slightly less then the others, but that isn't same as the widely accepted definition of "friends".
Re: (Score:3, Informative)
Re: (Score:2)
The old plugin basically sends HTTP requests and parses the HTML results. It only worked sporadically here, and sometimes caused continuous connect/disconnect cycles (causing me to get blocked temporarily by Facebook several times). The XMPP gateway seems to be very solid, and it moved the responsibility for compatibility from the client to the server, where they have a much more direct interface to the system.
Re: (Score:2)
Facebook, geez (Score:2)
Are you insane? Did you even browse Facebook pages? If you have anything regarding privacy in your mind, you don't join such networks to begin with...
It is a network requiring your REAL NAME, people share their private matters on their publicly available pages no matter how hard Facebook tries to educate them or force them to set their options.
It is not for your taste if you have concerns about sharing your private information. Not mine either but I don't swear at them, I just pity the 2010's sense of priva
Re: (Score:2)
Yeah. “Real Name”.
As real as whatever I choose to enter.
Also, I only joined, to be able to chat with a ton of idiot friends who use Failbook as their IM tool, instead of ICQ/Jabber/etc.
And I have NOTHING on the page. I literally have disabled every single feature, left everything empty, and blocked everyone from seeing anything. The only exception: Friends can send me messages.
I will delete the profile, as soon as Failbook allows cross-server IM (like email). Because I have my own Jabber server,
Re: (Score:2)
people share their private matters on their publicly available pages no matter how hard Facebook tries to educate them or force them to set their options
Excuse me? Is this the same Facebook that has removed some of the more restrictive privacy options, and defaulted to allowing Google to index people's pages in real time?
Re: (Score:2)
Hmm, either you have no clue, or Facebook changed account creation policy recently. I never had to provide my phone number at registration (although I did add it to my profile later with privacy restrictions on it.)
Re: (Score:2)
Yeah, they offer Jabber support. But if you want to use it, you have to have a user name.
But to have that, YOU HAVE TO GIVE THEM YOUR PHONE NUMBER!
Bah, what's the big deal? I give out my phone number all the time. Here it is:
(234)567-8910
Apparently I've got an Ohio number...
Re: (Score:2)
Couldn't we put the correct usage of "it's" in a FAQ or something and stop talking about it here?
Re: (Score:2)
That's only because timothy corrected the latter: http://tech.slashdot.org/submission/1171176/Facebook-Now-Supports-JabberXMPP [slashdot.org]
Please don't stop (Score:4, Insightful)
XMPP is the best thing to happen in the messaging protocol world for many years, we need to make sure that it continues to develop (especially server to server) and be as widely deployed as possible.
Disclaimer: Our company produces a system management product that uses XMPP as its first line fault notification. I would prefer even the most backward MS shop to have heard of it, and not to confuse it with the horror that is MSN.
Re: (Score:2)
You get the '503: Service Unavailable' when you entered your password wrong.
Re: (Score:2)
And I've also read that you may get a 503 error if you don't have cyrus-sasl installed on your linux system.
I think at this point it's probably due to them still trying to get their act together WRT XMPP.
Re: (Score:2)
SASL works (Score:2)
The sign-in is encrypted; the messages are not.