Hi, here are some changes to do for handling the pidgin facebook plugin. What follows has been tested against v1.36 of the plugin, and v0.2.1-1 of telepathy-haze on a debian unstable+experimental install. in haze.manager add this : (please note get_notifications won't probably be of any use, since empathy doesn't provide notifications as in pidgin) [Protocol bigbrownchunx-facebookim] param-account=s required param-password=s required param-host=s param-facebook_hide_self=b param-facebook_set_status_through_pidgin=b param-facebook_get_notifications=b param-facebook_max_msg_retry=i default-host=www.facebook.com default-facebook_hide_self=true default-facebook_set_status_through_pidgin=false default-facebook_get_notifications=true default-facebook_max_msg_retry=2 and add a file mission-control/profiles/bigbrownchunx-facebookim-haze.profile : [Profile] Manager=haze Protocol=bigbrownchunx-facebookim DisplayName=Facebook (Haze) IconName = im-bigbrownchunx-facebookim ConfigurationUI = haze Capabilities = chat-p2p, supports-alias, supports-avatars, supports-roster VCardDefault = 1 VCardField = X-FACEBOOK SupportedPresences = hidden icons are available here : http://code.google.com/p/pidgin-facebookchat/downloads/list of course they should be renamed and placed in correct folders. Also note that it seems some distributions doesn't have the root certificate used for facebook's SSL (e.g. gentoo). In that case it won't connect. Also that plugin hasn't proper localization yet. Cheers
(In reply to comment #0) > Hi, > here are some changes to do for handling the pidgin facebook plugin. What > follows has been tested against v1.36 of the plugin, and v0.2.1-1 of > telepathy-haze on a debian unstable+experimental install. > > in haze.manager add this : (please note get_notifications won't probably be of > any use, since empathy doesn't provide notifications as in pidgin) > > [Protocol bigbrownchunx-facebookim] > param-account=s required > param-password=s required > param-host=s > param-facebook_hide_self=b > param-facebook_set_status_through_pidgin=b > param-facebook_get_notifications=b > param-facebook_max_msg_retry=i > default-host=www.facebook.com > default-facebook_hide_self=true > default-facebook_set_status_through_pidgin=false > default-facebook_get_notifications=true > default-facebook_max_msg_retry=2 > > > and add a file mission-control/profiles/bigbrownchunx-facebookim-haze.profile : > > [Profile] > Manager=haze > Protocol=bigbrownchunx-facebookim > DisplayName=Facebook (Haze) > IconName = im-bigbrownchunx-facebookim > ConfigurationUI = haze > Capabilities = chat-p2p, supports-alias, supports-avatars, supports-roster > VCardDefault = 1 > VCardField = X-FACEBOOK > SupportedPresences = hidden > > > icons are available here : > http://code.google.com/p/pidgin-facebookchat/downloads/list > > of course they should be renamed and placed in correct folders. > > Also note that it seems some distributions doesn't have the root certificate > used for facebook's SSL (e.g. gentoo). In that case it won't connect. > > Also that plugin hasn't proper localization yet. > > Cheers > Confirmed working for version 1.38 of the plugin.
This more or less works, but with one caveat -- telepathy-haze as of version telepathy-haze-0.2.1-1.fc10.i386 was not able to download and use certificate. I have to manually copy login.facebook.com file from .purple/certificates/x509/tls_peers/ to /tmp/haze*/certificates/x509/tls_peers, where this directory in /tmp is created on the first unsuccessful attempt to connect to facebook. The file I collected with pidgin and the purple-facebookchat plugin.
Created attachment 20810 [details] modified haze.manager file This could be set up even without touching files in /usr/share -- files there should be touched only by the package manager. Copy this file to ~/.local/share/telepathy/managers/haze.manager
Created attachment 20811 [details] mission-control profile ... and this file to ~/.local/share/mission-control/profiles/facebookim-haze.profile
Any progress on this? I'd like to be able to use the Facebook plugin through Haze.
I was working on a branch of Haze that lets you stick certificates into .../share/telepathy-haze/certificates to whitelist them; given that, a prpl-facebook plugin could drop the cert in there and avoid the issue Matej mentioned about having to copy it into /tmp/haze-XXXXXX/.../ once Haze is running. I'm not really convinced that haze's shipped .manager file should include the facebook stuff given that stock libpurple doesn't ship it, but as long as Empathy fails gracefully if the protocol doesn't actually exist on the CM I could be convinced to include it as a temporary workaround until the time comes when haze can stop shipping a .manager file at all.
Just tried getting this to work on Ubuntu 8.10 with pidgin-facebookchat-1.47.deb and I continue to receive a 'Network error'. I've updated the haze.manager and the bigbrownchunx-facebookim-haze.profile files and copied over the login.facebook.com file from Pidgin. Perhaps this is a bug with Ubuntu or perhaps pidgin-facebookchat-1.47...any ideas?
"but as long as Empathy fails gracefully if the protocol doesn't actually exist on the CM I could be convinced to include it as a temporary workaround until the time comes when haze can stop shipping a .manager file at all." Can I try to convince you? :) Empathy is unfortunately going to replace pidgin in karmic, which is probably going to be the most widely used distribution in 2010, and this will steal users from pidgin-facebookchat, which is the fruit of some very good work I'd like not to be wasted.
(In reply to comment #8) > "but as long as > Empathy fails gracefully if the protocol doesn't actually exist on the CM I > could be convinced to include it as a temporary workaround until the time comes > when haze can stop shipping a .manager file at all." > > Can I try to convince you? :) > > Empathy is unfortunately going to replace pidgin in karmic, which is probably > going to be the most widely used distribution in 2010, and this will steal > users from pidgin-facebookchat, which is the fruit of some very good work I'd > like not to be wasted. If karmic ships Empathy, it will do so with Mission Control 5, so the .manager file will be deleted anyway and these patches will not be necessary.
with a recent update to mission-control 4.67, telepathy-haze 0.3.2, i get a "network error" in gui, and : (haze:14340): tp-glib-DEBUG: get_parameters: unknown protocol bigbrownchunx-facebookim in haze logs. also note it was working before that update, haze.manager still modified as before, and the .profile is still at the same place. mission-control says, accordingly : ** (process:14341): WARNING **: request_connection_cb: RequestConnection failed: unknown protocol bigbrownchunx-facebookim and nothing interesting is logged by empathy.
(In reply to comment #10) > with a recent update to mission-control 4.67, telepathy-haze 0.3.2, > i get a "network error" in gui, and : > (haze:14340): tp-glib-DEBUG: get_parameters: unknown protocol > bigbrownchunx-facebookim > > in haze logs. > also note it was working before that update, haze.manager still modified as > before, and the .profile is still at the same place. > > mission-control says, accordingly : > ** (process:14341): WARNING **: request_connection_cb: RequestConnection > failed: unknown protocol bigbrownchunx-facebookim > > and nothing interesting is logged by empathy. > The last release of Haze renames the protocol to 'facebook', so if you want to keep using an MC4-based Empathy, you'll need to update the .profile and .manager accordingly. If you're using the latest Empathy 2.27.x release, which uses Mission Control 5 rather than Mission Control 4, you don't need the .profile any more; you just need to patch the .manager file (or delete it, although that might hit a bug in telepathy-glib that will be fixed in 0.7.35), and it should show up in Empathy.
Thanks, it works once renamed to facebook (i'm still using mc4)
Hi, I'm using: pidgin-facebookchag 1.61 (deb from the site) telepathy haze 0.3.2-1 (ubuntu karmic version) telepathy glib 0.7.37.20090906182358-0daily1 (from a daily ppa) empathy 2.27.91.1.20090906182136-0daily1 (from a daily ppa) I added the content of the first post in haze.manager and renamed it to "[Protocol facebook]", and skipped the profile file, no more required with MC5. I can create a new facebook account (with the nice icon :D), entering username and password, but when I click on "connect" nothing happens. Unfortunately I don't know how to get debug from haze (because in the debug dialog I see "not supported"), so I can only see the empathy debug: empathy/Account-DEBUG: 1,252524e+09: account_widget_applied_cb: Could not apply changes to account: Protocol facebook not found Does it still work for you?
I also see the behaviour identified in comment #13. pidgin-facebookchat 1.61 from code.google.com telepathy-haze 0.3.2-1 from karmic/stable empathy 2.28.0.1-1ubuntu from karmic/stable (empathy:7161): empathy-DEBUG: account_widget_applied_cb: Could not apply changes to account: org.freedesktop.DBus.GLib.UnmappedError.McdAccountManagerError.Code0: Failed to set parameter: Protocol facebook not found
Is this obsolete per http://blog.facebook.com/blog.php?post=297991732130 ?
this problem is still important when using Groupwise through Telepathy-haze
The cert issues are a dup of bug 19018. *** This bug has been marked as a duplicate of bug 19018 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.