<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Facebook Chat In Bitlbee</title>
	<atom:link href="http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/feed/" rel="self" type="application/rss+xml" />
	<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/</link>
	<description>Linux.  GNU.  Freedom.</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:59:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha</generator>
	<item>
		<title>By: algo</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-115843</link>
		<dc:creator>algo</dc:creator>
		<pubDate>Thu, 21 Jul 2011 14:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-115843</guid>
		<description>Using Tom&#039;s changes at post 22:

16:37 &quot;use&quot; not allowed in expression at (eval 234) line 10, at end of line
16:37 syntax error at (eval 234) line 10, near &quot;use strict&quot;
16:37 BEGIN not safe after errors--compilation aborted at (eval 234) line 11.

Got this error, can anyone give me a hand here? :)</description>
		<content:encoded><![CDATA[<p>Using Tom&#8217;s changes at post 22:</p>
<p>16:37 &#8220;use&#8221; not allowed in expression at (eval 234) line 10, at end of line<br />
16:37 syntax error at (eval 234) line 10, near &#8220;use strict&#8221;<br />
16:37 BEGIN not safe after errors&#8211;compilation aborted at (eval 234) line 11.</p>
<p>Got this error, can anyone give me a hand here? <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quintopia</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-111509</link>
		<dc:creator>quintopia</dc:creator>
		<pubDate>Fri, 05 Nov 2010 17:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-111509</guid>
		<description>Annoyed at the way the rename script indiscriminately tossed away all special characters from my friend&#039;s names, I added the following lines to my copy (which should basically cover every reasonable person&#039;s name and more):

    $ircname =~ s/Æ/Ae/g;
    $ircname =~ s/æ/ae/g;
    $ircname =~ s/Ð/Dh/g;
    $ircname =~ s/ð/dh/g;
    $ircname =~ s/þ/th/g;
    $ircname =~ s/Þ/Th/g;
    $ircname =~ s/ß/ss/g;
    $ircname =~ tr/[á,à,ä,å,ã,â,Á,À,Ä,Å,Ã,Â,ç,Ç,é,è,ë,ê,É,È,Ë,Ê,í,ì,ï,î,Í,Ì,Ï,Î,ñ,Ñ,ó,ò,ö,ô,õ,ø,Ó,Ò,Ö,Ô,Õ,Ø,ú,ù,ü,û,Ú,Ù,Ü,Û,ý,Ý,ÿ]/[a,a,a,a,a,a,A,A,A,A,A,A,c,C,e,e,e,e,E,E,E,E,i,i,i,i,I,I,I,I,m,M,o,o,o,o,o,o,O,O,O,O,O,O,u,u,u,u,U,U,U,U,y,Y,y]/;


Should be fairly obvious where it goes...right before the line that smashes all the characters it&#039;s trying to preserve :D</description>
		<content:encoded><![CDATA[<p>Annoyed at the way the rename script indiscriminately tossed away all special characters from my friend&#8217;s names, I added the following lines to my copy (which should basically cover every reasonable person&#8217;s name and more):</p>
<p>    $ircname =~ s/Æ/Ae/g;<br />
    $ircname =~ s/æ/ae/g;<br />
    $ircname =~ s/Ð/Dh/g;<br />
    $ircname =~ s/ð/dh/g;<br />
    $ircname =~ s/þ/th/g;<br />
    $ircname =~ s/Þ/Th/g;<br />
    $ircname =~ s/ß/ss/g;<br />
    $ircname =~ tr/[á,à,ä,å,ã,â,Á,À,Ä,Å,Ã,Â,ç,Ç,é,è,ë,ê,É,È,Ë,Ê,í,ì,ï,î,Í,Ì,Ï,Î,ñ,Ñ,ó,ò,ö,ô,õ,ø,Ó,Ò,Ö,Ô,Õ,Ø,ú,ù,ü,û,Ú,Ù,Ü,Û,ý,Ý,ÿ]/[a,a,a,a,a,a,A,A,A,A,A,A,c,C,e,e,e,e,E,E,E,E,i,i,i,i,I,I,I,I,m,M,o,o,o,o,o,o,O,O,O,O,O,O,u,u,u,u,U,U,U,U,y,Y,y]/;</p>
<p>Should be fairly obvious where it goes&#8230;right before the line that smashes all the characters it&#8217;s trying to preserve <img src='http://pthree.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilmer</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110975</link>
		<dc:creator>Wilmer</dc:creator>
		<pubDate>Mon, 14 Jun 2010 08:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110975</guid>
		<description>Since this post is one of the first results in a Google query for &quot;bitlbee facebook&quot;, I should probably mention that the rename script is not required anymore for recent BitlBee versions. You can just use the nick_source setting instead. Something like this should work:

account set facebook/nick_source full_name

(And &quot;set lcnicks off&quot; if you want them CamelCased.)

If you&#039;ve already used the rename script you *may* have to re-add your Facebook account before this will take effect.

Also I&#039;m trying to make http://wiki.bitlbee.org/HowtoFacebook the canonical source of information on BitlBee + Facebook. Trying to centralize BitlBee docs a little bit better.</description>
		<content:encoded><![CDATA[<p>Since this post is one of the first results in a Google query for &#8220;bitlbee facebook&#8221;, I should probably mention that the rename script is not required anymore for recent BitlBee versions. You can just use the nick_source setting instead. Something like this should work:</p>
<p>account set facebook/nick_source full_name</p>
<p>(And &#8220;set lcnicks off&#8221; if you want them CamelCased.)</p>
<p>If you&#8217;ve already used the rename script you *may* have to re-add your Facebook account before this will take effect.</p>
<p>Also I&#8217;m trying to make <a href="http://wiki.bitlbee.org/HowtoFacebook" rel="nofollow">http://wiki.bitlbee.org/HowtoFacebook</a> the canonical source of information on BitlBee + Facebook. Trying to centralize BitlBee docs a little bit better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110878</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 19 May 2010 14:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110878</guid>
		<description>@stringz- No, you&#039;re not the only one. This is because those people are signing in multiple times to their Facebook account, or they are in a chat room with you, using their Facebook account. That&#039;s bitlbee for you. :)</description>
		<content:encoded><![CDATA[<p>@stringz- No, you&#8217;re not the only one. This is because those people are signing in multiple times to their Facebook account, or they are in a chat room with you, using their Facebook account. That&#8217;s bitlbee for you. <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stringz</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110877</link>
		<dc:creator>stringz</dc:creator>
		<pubDate>Wed, 19 May 2010 13:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110877</guid>
		<description>Is it just me or is anyone else getting multiple instances of each user?  I get -12345, -12345_, -12345__, and so on.  They all get renamed, (every time, and like Ash said, &quot;small price to pay&quot;).  My PROBLEM is, when someone initiates a chat with me, it shows up in seperate windows for each -12345_.   So I&#039;m basically chatting to the same person on 4 or 5 windows.

Is it just me?</description>
		<content:encoded><![CDATA[<p>Is it just me or is anyone else getting multiple instances of each user?  I get -12345, -12345_, -12345__, and so on.  They all get renamed, (every time, and like Ash said, &#8220;small price to pay&#8221;).  My PROBLEM is, when someone initiates a chat with me, it shows up in seperate windows for each -12345_.   So I&#8217;m basically chatting to the same person on 4 or 5 windows.</p>
<p>Is it just me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110873</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Mon, 17 May 2010 02:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110873</guid>
		<description>So, I&#039;ve been faced with this now, as well. Thank you Facebook! However, the latest bitlbee, 1.2.7, has support for renaming Facebook nicknames directly. Worth giving a shot.</description>
		<content:encoded><![CDATA[<p>So, I&#8217;ve been faced with this now, as well. Thank you Facebook! However, the latest bitlbee, 1.2.7, has support for renaming Facebook nicknames directly. Worth giving a shot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110872</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Sun, 16 May 2010 23:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110872</guid>
		<description>Now I just have to put up with all my contacts being re-saved every time they come online (very small price to pay, though!). If anyone reading this also uses bitlbee for MSN, like I do, you might have noticed problems authenticating passports. This has been rectified in the latest version. If you&#039;re running a Debian-based Linux distribution, the debs are available here:

http://code.bitlbee.org/debian/devel/</description>
		<content:encoded><![CDATA[<p>Now I just have to put up with all my contacts being re-saved every time they come online (very small price to pay, though!). If anyone reading this also uses bitlbee for MSN, like I do, you might have noticed problems authenticating passports. This has been rectified in the latest version. If you&#8217;re running a Debian-based Linux distribution, the debs are available here:</p>
<p><a href="http://code.bitlbee.org/debian/devel/" rel="nofollow">http://code.bitlbee.org/debian/devel/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110871</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Sun, 16 May 2010 23:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110871</guid>
		<description>Nice one Tom, that worked a treat. I tried to give it a go myself, but my programming knowledge doesn&#039;t extend much further than bash scripting. But now that you&#039;ve shown the changes, of course it makes perfect sense. Cheers!</description>
		<content:encoded><![CDATA[<p>Nice one Tom, that worked a treat. I tried to give it a go myself, but my programming knowledge doesn&#8217;t extend much further than bash scripting. But now that you&#8217;ve shown the changes, of course it makes perfect sense. Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110869</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Sat, 15 May 2010 14:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110869</guid>
		<description>Easy enough to fix.  In the script, just change

if($channel =~ m/($bitlbeeChannel)/ and $nick =~ m/$username/ and $nick =~ m/^u\d+/ and $host =~ m/($facebookhostname)/ )

to:

if($channel =~ m/($bitlbeeChannel)/ and $nick =~ m/$username/ and $nick =~ m/^\-\d+/ and $host =~ m/($facebookhostname)/ )

(note the uXXXXXXXX@ changed to -XXXXXXXX@, so we replace u with \-)

and 

$server-&gt;command(&quot;whois $nick&quot;);

to:

$server-&gt;command(&quot;whois \&quot;$nick\&quot;&quot;);

To escape the new &#039;-&#039;s.  Hopefully they won&#039;t change things around again.</description>
		<content:encoded><![CDATA[<p>Easy enough to fix.  In the script, just change</p>
<p>if($channel =~ m/($bitlbeeChannel)/ and $nick =~ m/$username/ and $nick =~ m/^u\d+/ and $host =~ m/($facebookhostname)/ )</p>
<p>to:</p>
<p>if($channel =~ m/($bitlbeeChannel)/ and $nick =~ m/$username/ and $nick =~ m/^\-\d+/ and $host =~ m/($facebookhostname)/ )</p>
<p>(note the uXXXXXXXX@ changed to -XXXXXXXX@, so we replace u with \-)</p>
<p>and </p>
<p>$server-&gt;command(&#8220;whois $nick&#8221;);</p>
<p>to:</p>
<p>$server-&gt;command(&#8220;whois \&#8221;$nick\&#8221;");</p>
<p>To escape the new &#8216;-&#8217;s.  Hopefully they won&#8217;t change things around again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Utopiah</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110867</link>
		<dc:creator>Utopiah</dc:creator>
		<pubDate>Thu, 13 May 2010 13:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110867</guid>
		<description>Same problem for me too, &quot;5:19 -!- -123456789 [-123456789@chat.facebook.com] has quit [Leaving...]&quot;

I didn&#039;t change anything and it happened overnight so I reloaded the script, just in case, nothing changed, still can&#039;t rename.</description>
		<content:encoded><![CDATA[<p>Same problem for me too, &#8220;5:19 -!- -123456789 [-123456789@chat.facebook.com] has quit [Leaving...]&#8221;</p>
<p>I didn&#8217;t change anything and it happened overnight so I reloaded the script, just in case, nothing changed, still can&#8217;t rename.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110865</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Thu, 13 May 2010 02:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110865</guid>
		<description>Well I guess I&#039;m kind of glad to know that I&#039;m not the only one with this issue. I&#039;ve tried quite a few things to figure out what might be causing the problem, but to no avail. Which is making me think, as James suggested, that it might be at Facebook&#039;s end. But that still doesn&#039;t explain why yours is fine, Aaron. If it is at Facebook&#039;s end, then I guess we&#039;ll just keep having to put up with it until it fixes itself. Hopefully the quotation marks fix helped you James!</description>
		<content:encoded><![CDATA[<p>Well I guess I&#8217;m kind of glad to know that I&#8217;m not the only one with this issue. I&#8217;ve tried quite a few things to figure out what might be causing the problem, but to no avail. Which is making me think, as James suggested, that it might be at Facebook&#8217;s end. But that still doesn&#8217;t explain why yours is fine, Aaron. If it is at Facebook&#8217;s end, then I guess we&#8217;ll just keep having to put up with it until it fixes itself. Hopefully the quotation marks fix helped you James!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110864</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 12 May 2010 18:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110864</guid>
		<description>There must be an issue then. It&#039;s still working just great for me. No issues that I&#039;ve seen yet. Makes me a bit worried though.</description>
		<content:encoded><![CDATA[<p>There must be an issue then. It&#8217;s still working just great for me. No issues that I&#8217;ve seen yet. Makes me a bit worried though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110863</link>
		<dc:creator>james</dc:creator>
		<pubDate>Wed, 12 May 2010 17:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110863</guid>
		<description>Yeah, Ash, this started happening to me too. I think that Facebook changed the way their Jabber implementation works, because it started for me on exactly the same day. I&#039;m disabling FB in bitlbee until either one gets an upgrade.</description>
		<content:encoded><![CDATA[<p>Yeah, Ash, this started happening to me too. I think that Facebook changed the way their Jabber implementation works, because it started for me on exactly the same day. I&#8217;m disabling FB in bitlbee until either one gets an upgrade.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110862</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Wed, 12 May 2010 05:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110862</guid>
		<description>Hmmm... yes, I may have to investigate my setup a little further. It&#039;s weird that it just started happening out of the blue, though, without me making any changes. If anyone else reading this is experiencing the same problem with the hyphen in irssi, I have come up with a way around sending people messages. If you enclose the hyphen + number in quotation marks, it will accept the username and send the message without any problem. Hopefully I can get this sorted as having to run a /who and change windows every time someone logs on is getting rather frustrating... ;)</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; yes, I may have to investigate my setup a little further. It&#8217;s weird that it just started happening out of the blue, though, without me making any changes. If anyone else reading this is experiencing the same problem with the hyphen in irssi, I have come up with a way around sending people messages. If you enclose the hyphen + number in quotation marks, it will accept the username and send the message without any problem. Hopefully I can get this sorted as having to run a /who and change windows every time someone logs on is getting rather frustrating&#8230; <img src='http://pthree.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/#comment-110861</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 12 May 2010 04:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://pthree.org/?p=1306#comment-110861</guid>
		<description>@Ash- I don&#039;t have that problem. All of my friends that are currently logged in, do not a hyphen prefixed to their JID. Further, the script is continuing to rename nicks for me just fine. Also, I just initiated a chat with a friend, and everything worked as expected. So, I&#039;m guessing you have something seriously broken with your setup.</description>
		<content:encoded><![CDATA[<p>@Ash- I don&#8217;t have that problem. All of my friends that are currently logged in, do not a hyphen prefixed to their JID. Further, the script is continuing to rename nicks for me just fine. Also, I just initiated a chat with a friend, and everything worked as expected. So, I&#8217;m guessing you have something seriously broken with your setup.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

