<?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>Christophe Coenraets &#187; Facebook</title>
	<atom:link href="http://coenraets.org/blog/category/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>http://coenraets.org/blog</link>
	<description>Web Platform, Cloud and Mobile Application Development</description>
	<lastBuildDate>Mon, 13 May 2013 16:05:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Sociogram Mobile: A Starter-Kit Application for PhoneGap and Facebook Integration</title>
		<link>http://coenraets.org/blog/2013/03/sociogram-mobile-a-starter-kit-application-for-phonegap-and-facebook-integration/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sociogram-mobile-a-starter-kit-application-for-phonegap-and-facebook-integration</link>
		<comments>http://coenraets.org/blog/2013/03/sociogram-mobile-a-starter-kit-application-for-phonegap-and-facebook-integration/#comments</comments>
		<pubDate>Thu, 21 Mar 2013 18:21:37 +0000</pubDate>
		<dc:creator>Christophe Coenraets</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[PhoneGap]]></category>

		<guid isPermaLink="false">http://coenraets.org/blog/?p=5131</guid>
		<description><![CDATA[A few weeks ago I shared Sociogram, a sample application that demonstrates how to use the Facebook JavaScript SDK and the Graph API. A number of people have asked me for a Mobile version of the application. So here is Sociogram Mobile: a sample application that demonstrates how to integrate Facebook social features in a [...]]]></description>
				<content:encoded><![CDATA[<p>A few weeks ago I shared <a href="http://coenraets.org/blog/2013/02/sociogram-a-sample-application-exploring-the-facebook-sdk-and-the-graph-api/">Sociogram</a>, a sample application that demonstrates how to use the Facebook JavaScript SDK and the Graph API. A number of people have asked me for a Mobile version of the application. So here is Sociogram Mobile: a sample application that demonstrates how to integrate Facebook social features in a PhoneGap application.   </p>
<p>Specifically, the application demonstrates:</p>
<ul>
<li>How to login and request permisssions</li>
<li>How to access your profile, friends, and feed</li>
<li>How to access a list of friends</li>
<li>How to access a friend&#8217;s profile, friends, mutual friends, and feed</li>
<li>How to post a message to your feed using a custom UI or using the Facebook native dialogs</li>
<li>How to revoke the permissions granted to the application (useful during development)</li>
</ul>
<p>Here are a few screenshots:</p>
<p><a href="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_home.jpg"><img src="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_home.jpg" alt="" title="sociogram_home" width="320" height="478" class="alignleft size-full wp-image-5159" /><br/><br/></a><br />
<span id="more-5131"></span><br />
<a href="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_menu.jpg"><img src="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_menu.jpg" alt="" title="sociogram_menu" width="320" height="478" class="alignleft size-full wp-image-5160" /></a></p>
<p><a href="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_profile.jpg"><img src="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_profile.jpg" alt="" title="sociogram_profile" width="320" height="478" class="alignleft size-full wp-image-5157" /></a></p>
<p><a href="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_post2.gif"><img src="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_post2.gif" alt="" title="sociogram_post2" width="320" height="478" class="alignleft size-full wp-image-5154" /></a></p>
<p><a href="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_feed.jpg"><img src="http://coenraets.org/blog/wp-content/uploads/2013/03/sociogram_feed.jpg" alt="" title="sociogram_feed" width="320" height="478" class="alignleft size-full wp-image-5161" /></a></p>
<h3 style="clear:both;">Source Code</h3>
<p>The source code is available in <a href="https://github.com/ccoenraets/sociogram-mobile">this GitHub repository</a>. This is still work in progress and I&#8217;ve only tested the app on iOS at this point. I&#8217;ll continue to update the code: there are things that can be polished and things that can be added. </p>
<h3>Libraries</h3>
<p>The application is buil using the following libraries:</p>
<ul>
<li><a href="https://github.com/phonegap/phonegap-facebook-plugin">The Facebook plugin for PhoneGap</a></li>
<li><a href="http://backbonejs.org/">Backbone.js</a></li>
<li><a href="http://maker.github.com/ratchet/">Ratchet</a></li>
<li><a href="https://github.com/ftlabs/fastclick">Fastclick</a></li>
<li><a href="http://jquery.com/">jQuery</a></li>
<li><a href="http://coenraets.org/blog/2013/03/hardware-accelerated-page-transitions-for-mobile-web-apps-phonegap-apps/">PageSlider</a></li>
</ul>
<p>These dependencies (except the first one) can easily be removed to work with your own stack.</p>
]]></content:encoded>
			<wfw:commentRss>http://coenraets.org/blog/2013/03/sociogram-mobile-a-starter-kit-application-for-phonegap-and-facebook-integration/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Sociogram: A Sample Application Exploring the Facebook SDK and the Graph API</title>
		<link>http://coenraets.org/blog/2013/02/sociogram-a-sample-application-exploring-the-facebook-sdk-and-the-graph-api/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sociogram-a-sample-application-exploring-the-facebook-sdk-and-the-graph-api</link>
		<comments>http://coenraets.org/blog/2013/02/sociogram-a-sample-application-exploring-the-facebook-sdk-and-the-graph-api/#comments</comments>
		<pubDate>Thu, 07 Feb 2013 16:08:45 +0000</pubDate>
		<dc:creator>Christophe Coenraets</dc:creator>
				<category><![CDATA[Backbone.js]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://coenraets.org/blog/?p=4917</guid>
		<description><![CDATA[I&#8217;ve recently been working on a few applications that integrate with Facebook. As a reference for myself and other developers building similar applications, I thought it would be useful to put together a sample application that demonstrates some commonly used integration scenarios and workflows when using the Facebook JavaScript SDK and the Graph API. So, [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://coenraets.org/blog/wp-content/uploads/2013/02/sociogram2.jpg"><img style="padding:0;margin:0;border: solid 1px #ddd" src="http://coenraets.org/blog/wp-content/uploads/2013/02/sociogram2.jpg" alt="" title="sociogram2" width="640" height="444" class="aligncenter size-full wp-image-4934" /></a></p>
<p>I&#8217;ve recently been working on a few applications that integrate with Facebook. As a reference for myself and other developers building similar applications, I thought it would be useful to put together a sample application that demonstrates some commonly used integration scenarios and workflows when using the <a href="http://developers.facebook.com/docs/reference/javascript/">Facebook JavaScript SDK</a> and the <a href="http://developers.facebook.com/docs/reference/api/">Graph API</a>. So, Sociogram is a sample application that demonstrates how to:<br />
<span id="more-4917"></span></p>
<ul>
<li>Load the Facebook SDK</li>
<li>Login with Facebook</li>
<li>Request specific permissions</li>
<li>Revoke permissions</li>
<li>Get data (list of friends, mutual friends, feed items, etc.)</li>
<li>Post to the wall using your application&#8217;s custom UI or the Facebook dialogs</li>
<li>Listen to Facebook events such as status change, etc</li>
</ul>
<p>The Graph API provides access to a lot more data and actions, but you are essentially always using the same API with a different path into the graph.</p>
<p>There are <a href="http://developers.facebook.com/docs/samples/">other examples</a> out there, each of them built around different use cases. This application is built with <a href="http://backbonejs.org/">Backbone.js</a> using a single page architecture, but the code can easily be reused in a different context.</p>
<h3>Running the Application</h3>
<p>Click <a href="http://coenraets.org/sociogram">here</a> to run the application in your browser.</p>
<h3>Source Code</h3>
<p>The source code is available in <a href="https://github.com/ccoenraets/sociogram">this GitHub repository</a>.</p>
<h3>Mobile App Version</h3>
<p>In my next post, I will share a PhoneGap version of the same application (using the PhoneGap Facebook plugin).</p>
<h3>Disclaimer</h3>
<p>This is a sample application, not a production application. Some trade-offs were made to keep the code generic, simple and readable.</p>
]]></content:encoded>
			<wfw:commentRss>http://coenraets.org/blog/2013/02/sociogram-a-sample-application-exploring-the-facebook-sdk-and-the-graph-api/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
