<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Facebook Chat API</title>
	<atom:link href="http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/</link>
	<description>pronounced &#34;coder&#34; not &#34;code err&#34; (extended r optional)</description>
	<lastBuildDate>Sun, 20 Dec 2009 10:03:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jason</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1789</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Sat, 05 Dec 2009 14:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1789</guid>
		<description>Nice implementation, this will give me background to build my own web based chat using facebook, hopefully as a plugin for my &lt;a href=&quot;demo.rapidcube.com&quot; rel=&quot;nofollow&quot;&gt;chat&lt;/a&gt; script</description>
		<content:encoded><![CDATA[<p>Nice implementation, this will give me background to build my own web based chat using facebook, hopefully as a plugin for my <a href="demo.rapidcube.com" rel="nofollow">chat</a> script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj Anand &#187; List of APIs for your Social Networks</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1770</link>
		<dc:creator>Raj Anand &#187; List of APIs for your Social Networks</dc:creator>
		<pubDate>Mon, 16 Nov 2009 19:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1770</guid>
		<description>[...] Chat API (Unofficial) : Facebook doesn&#8217;t have an API for its chat but Coderrr created a hack using the existing Facebook API. The resource is now available but doesn&#8217;t [...]</description>
		<content:encoded><![CDATA[<p>[...] Chat API (Unofficial) : Facebook doesn&#8217;t have an API for its chat but Coderrr created a hack using the existing Facebook API. The resource is now available but doesn&#8217;t [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abidin</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1757</link>
		<dc:creator>abidin</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1757</guid>
		<description>Hi, my name abidin

I just write your code without any changes.
But when run it,
---------------------------------
nokideen@sya-mlink-kpsg:~/workspace/rbfbookchat$ ruby facebook_chat.rb nokideen@nfors.com asdf1234
facebook_chat.rb:15:in `login&#039;: undefined method `fields&#039; for nil:NilClass (NoMethodError)
	from facebook_chat.rb:82


------------------------------------

I use ruby for Linux 
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

(Ubuntu)</description>
		<content:encoded><![CDATA[<p>Hi, my name abidin</p>
<p>I just write your code without any changes.<br />
But when run it,<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
nokideen@sya-mlink-kpsg:~/workspace/rbfbookchat$ ruby facebook_chat.rb <a href="mailto:nokideen@nfors.com">nokideen@nfors.com</a> asdf1234<br />
facebook_chat.rb:15:in `login&#8217;: undefined method `fields&#8217; for nil:NilClass (NoMethodError)<br />
	from facebook_chat.rb:82</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I use ruby for Linux<br />
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]</p>
<p>(Ubuntu)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1750</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Fri, 09 Oct 2009 13:22:45 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1750</guid>
		<description>For what it&#039;s worth, here are the patterns which seem to work okay right now. The ones in the code above did not work for me. These are for the python version of the script, but I bet you&#039;re all able to copy them into the Ruby code:

    self.uid= int(re.match(&quot;&quot;&quot;.+Presence\(&quot;(\d+)&quot;&quot;&quot;, body, re.S).group(1))
    print &quot;ID=&quot;+`self.uid`
    self.channel= re.match(&quot;&quot;&quot;.+channel(\d+)&quot;&quot;&quot;, body, re.S).group(1)
    print &quot;Channel=&quot;+self.channel
    self.post_form_id = re.match(&quot;&quot;&quot;.+&lt;input type=&quot;hidden&quot; id=&quot;post_form_id&quot; name=&quot;post_form_id&quot; value=&quot;([^&quot;]+).+&quot;&quot;&quot;, body, re.S).group(1)
    print &quot;FormID=&quot;+self.post_form_id</description>
		<content:encoded><![CDATA[<p>For what it&#8217;s worth, here are the patterns which seem to work okay right now. The ones in the code above did not work for me. These are for the python version of the script, but I bet you&#8217;re all able to copy them into the Ruby code:</p>
<p>    self.uid= int(re.match(&#8220;&#8221;".+Presence\(&#8220;(\d+)&#8221;"&#8221;, body, re.S).group(1))<br />
    print &#8220;ID=&#8221;+`self.uid`<br />
    self.channel= re.match(&#8220;&#8221;".+channel(\d+)&#8221;"&#8221;, body, re.S).group(1)<br />
    print &#8220;Channel=&#8221;+self.channel<br />
    self.post_form_id = re.match(&#8220;&#8221;".+&lt;input type=&quot;hidden&quot; id=&quot;post_form_id&quot; name=&quot;post_form_id&quot; value=&quot;([^&quot;]+).+&quot;&quot;&quot;, body, re.S).group(1)<br />
    print &quot;FormID=&quot;+self.post_form_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ms</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1730</link>
		<dc:creator>ms</dc:creator>
		<pubDate>Fri, 04 Sep 2009 03:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1730</guid>
		<description>Were you able to write it in java?

I am trying to do the same.
But it doesnt show me online in my friend&#039;s buddy list.

Any workaround?
Please help.

P.S: I am sending a message to myself too.
But still its not working :( :(</description>
		<content:encoded><![CDATA[<p>Were you able to write it in java?</p>
<p>I am trying to do the same.<br />
But it doesnt show me online in my friend&#8217;s buddy list.</p>
<p>Any workaround?<br />
Please help.</p>
<p>P.S: I am sending a message to myself too.<br />
But still its not working :( :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FriendsFlow (facebook client) - Page 4 - PreCentral Forums</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1726</link>
		<dc:creator>FriendsFlow (facebook client) - Page 4 - PreCentral Forums</dc:creator>
		<pubDate>Thu, 20 Aug 2009 12:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1726</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cimnine</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1691</link>
		<dc:creator>cimnine</dc:creator>
		<pubDate>Fri, 10 Jul 2009 12:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1691</guid>
		<description>Maybe login parsing could be easier/faster when parsing the mobile page:
http://m.facebook.com/login.php?http

The uid and post_form_id can get extracted from that page too.

~Chris</description>
		<content:encoded><![CDATA[<p>Maybe login parsing could be easier/faster when parsing the mobile page:<br />
<a href="http://m.facebook.com/login.php?http" rel="nofollow">http://m.facebook.com/login.php?http</a></p>
<p>The uid and post_form_id can get extracted from that page too.</p>
<p>~Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CT-City Yeni Projemiz - Webmaster Forumu - Webmaster Zone</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1433</link>
		<dc:creator>CT-City Yeni Projemiz - Webmaster Forumu - Webmaster Zone</dc:creator>
		<pubDate>Sun, 24 May 2009 02:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1433</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1353</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 06 May 2009 08:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1353</guid>
		<description>jam

kjgb</description>
		<content:encoded><![CDATA[<p>jam</p>
<p>kjgb</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: List of APIs for chat</title>
		<link>http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/#comment-1305</link>
		<dc:creator>List of APIs for chat</dc:creator>
		<pubDate>Thu, 09 Apr 2009 13:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=41#comment-1305</guid>
		<description>[...] Chat API (Unofficial) : Facebook doesn&#8217;t have an API for its chat but Coderrr created a hack using the existing Facebook API. The resource is now available but doesn&#8217;t [...]</description>
		<content:encoded><![CDATA[<p>[...] Chat API (Unofficial) : Facebook doesn&#8217;t have an API for its chat but Coderrr created a hack using the existing Facebook API. The resource is now available but doesn&#8217;t [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
