View Single Post
Old 03/13/2010, 08:06 PM   #1 (permalink)
robvanvliet
Member
 
Join Date: Apr 2005
Location: Eindhoven, Netherlands
Posts: 93
Likes Received: 3
Thanks: 16
Thanked 159 Times in 11 Posts
Default Very simple Facebook Chat patch

Hello,

A couple of minutes ago something occurred to me, and it works:
for facebook chat you only need to change the

/etc/hosts file.

Just add the line

69.63.181.104 talk.google.com

and add a facebook account as if it where a gmail account, so <username>@chat.facebook.com

Voila!

BTW: Google Talk does not actually use "talk.google.com", so it continues to work as normal

How it works: the messaging application can use any xmpp (jabber) service. In the code, however, it is restricted to google talk. (Ref Enabling Jabber, not just Google Talk - WebOS Internals | Google Groups )

The ip address above is actually "chat.facebook.com", so we impersonate facebook as google talk.

For more info on facebook chat clients see Help Center | Facebook
robvanvliet is offline   Reply With Quote
Thanked by 2sslow, a dumb cat, adambomb13, ajborley, ajm91484, alexagraceld, ananimus, antk43, antonio3, arkieboy, aughtism, ayman86, azkevman, B-model, BAbnkr, Babywayne, Bgso, bisrama, bjaardker, bjs188, bluerq, boobie11, bopodoq, Budgetmedic, byosphere, cardfan, ChemEngr, Christop406, chud311, clacombe, commonplace, Corey Gordon, cvduche, czarphanguye, damnregister, DarkTreo, dcigary, Demlor, despinova, dioscuri, djwhitey, domicius, dr fnord, drewcam888, dsei, Ehsan, ericizzy1, ericp74, evildoctor, fishtale, Fr33t4rd, FuManChuu, gapost, Goingbended, GoTitans, graffix31, Greyfox, grizzly_addams, HelmutsKohl, honda07si, Hz-R, igobytony, Igor987, jakelaw, jaykimdotnet, jbg7474, jhodnettejr, jordo487, josecaguas, JROME3SA, jusegozu, k4llle, Karou, kill_Dano, knickrox13, koolkid09, Kyusaku, leexlee, Loonytunes, luigi517, macd2002, magonzo, mamouton, Maturin, maxima2k53, mcjj11, mellisnj, Meltedwire, MerlinMM, MijoroJordan, Mike77, mikevember, mikeybob365, Misha7869, mkhiggins5, mksand28, mmm5288, ms2474, musicguy, mvpsanto, mypre2009, Myprelove, nbock01, nebj00la, netwrkr9, nimer55, NoRemorse, oly8ball, onedr0p, Orion Antares, pacha248, pattavino, pogeypre, Pokerbrothersstudio, purplecharm, Radvette, Rkguy, rlbrooks, Rnp, ryran, saketh321, Santowl, shanpalm61, SHO_ONE, situveux1, sjs2626, Spader, spudland, spy0r, suruat, Syphon, taalibeen, TheInvsbleMan, TIWizard, Tlaloc, Trident, tripsbacks, tsaunders, upperking, urabcsr, Willie923, xanthinealkaloid, xanthomondo, xome1983, xxr2hxx