<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mike Luby &#187; Facebook</title>
	<atom:link href="http://www.mikeluby.com/category/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeluby.com</link>
	<description>acts smart.</description>
	<lastBuildDate>Wed, 23 Dec 2009 15:45:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mikeluby.com with FBC&#8217;s Comments</title>
		<link>http://www.mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/</link>
		<comments>http://www.mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 05:15:50 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://mikeluby.com/?p=43</guid>
		<description><![CDATA[Facebook has just launched their first social widget using their increasingly popular Facebook Connect platform. You can take a look at their recent blog post to explain it a little more. Facebook says that &#8220;Sites have seen as much as 40-50% more comments since they launched added these features.&#8221; and adding Facebook connect to a [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook has just launched their first social widget using their increasingly popular Facebook Connect platform. You can take a look at their recent <a title="Facebook Blog" href="http://developers.facebook.com/news.php?blog=1&amp;story=198">blog post</a> to explain it a little more. Facebook says that &#8220;Sites have seen as much as 40-50% more comments since they launched added these features.&#8221; and adding Facebook connect to a site is extremely easy.  I&#8217;m not going to go over how to implement Facebook connect right now (maybe later). Using a mix of the Facebook PHP API and Facebook connect you can totally replace your own blog&#8217;s comment system. I invite you to check out the comment system in action <a href="http://mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/">here</a>.</p>
<p>Below the fold I&#8217;m going to paste a code snippet that will set you on your way.</p>
<p><span id="more-43"></span></p>
<p><strong>FBML for comment box:</strong></p>
<pre class="brush: xml;">

&lt;fb:comments xid=&quot;mikeluby_POST_ID&quot; reverse=&quot;true&quot;&gt;&lt;/fb:comments&gt;
</pre>
<p><strong>Get the Number of comments:</strong></p>
<pre class="brush: php;">

require_once( &quot;FBAPI/CLIENT/LOCATION/facebook.php&quot; );
$appapikey = 'FB_API_KEY';
$appsecret = 'FB_SECRET';
$facebook = new Facebook( $appapikey, $appsecret );
$comments = count( $facebook-&gt;api_client-&gt;call_method( &quot;facebook.comments.get&quot;, array( &quot;xid&quot; =&gt; &quot;mikeluby_$post_id&quot; ) ) );
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
