<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Through My Lenses &#187; facebook</title>
	<atom:link href="http://www.ericstoike.com/wp/tag/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ericstoike.com/wp</link>
	<description>A look into the world as I see it...</description>
	<lastBuildDate>Mon, 16 Jan 2012 19:05:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<copyright>Copyright &#xA9; Through My Lenses 2011 </copyright>
	<managingEditor>eric@gvfootball.com (Through My Lenses)</managingEditor>
	<webMaster>eric@gvfootball.com (Through My Lenses)</webMaster>
	<image>
		<url>http://www.ericstoike.com/wp/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Through My Lenses</title>
		<link>http://www.ericstoike.com/wp</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>A look into the world as I see it...</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Through My Lenses</itunes:author>
	<itunes:owner>
		<itunes:name>Through My Lenses</itunes:name>
		<itunes:email>eric@gvfootball.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.ericstoike.com/wp/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>#cfunited Notes &#8211; &#8220;Facebook applications with a CF Backend&#8221;</title>
		<link>http://www.ericstoike.com/wp/2009/08/14/cfunited-notes-facebook-applications-with-a-cf-backend/</link>
		<comments>http://www.ericstoike.com/wp/2009/08/14/cfunited-notes-facebook-applications-with-a-cf-backend/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 14:03:58 +0000</pubDate>
		<dc:creator>cowboyEric</dc:creator>
				<category><![CDATA[#cfunited]]></category>
		<category><![CDATA[#cfunited2009]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://www.ericstoike.com/wp/?p=782</guid>
		<description><![CDATA[Workings of a Facebook App Facebook -&#62; your website -&#62; Facebook API -&#62; your website -&#62; Facebook They scan for &#8220;bad&#8221; stuff before displaying it. Good though because its all secure for you. Setup name your application (read the terms &#8211; good bathroom reading) make note of your API key and secret (needed for all [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Workings of a Facebook App</strong></p>
<ul>
<li>Facebook -&gt; your website -&gt; Facebook API -&gt; your website -&gt; Facebook</li>
<li>They scan for &#8220;bad&#8221; stuff before displaying it.</li>
<li>Good though because its all secure for you.</li>
</ul>
<p><strong>Setup</strong></p>
<ol>
<li>name your application (read the terms &#8211; good bathroom reading)</li>
<li>make note of your API key and secret (needed for all API calls)</li>
<li>setup a facebook URL (unique) and the callback URL (your server and should be directory only as they will append different files)</li>
<li>settings page to set sandbox, app type, sms integration and iphone</li>
</ol>
<p><strong>1st Roadblock</strong></p>
<ul>
<li>validation is carried out on form fields that have specified names (pre cf9)</li>
<li>fb_sig is in the wrong format and will never validate. set to another field and clear that field.</li>
</ul>
<p><strong>A Look at FBML</strong></p>
<ul>
<li>tag system that handles output of data</li>
<li>tags display data just as the website does</li>
<li>tags are mostly used for UI/layout</li>
<li>conditional logic tags do exist (if/else)</li>
</ul>
<p><strong>Digging into the API</strong></p>
<ul>
<li>RESTful-ish API</li>
<li>dot delimited methods</li>
<li>methods are grouped in actions</li>
<li>returns XML/JSON/PHP</li>
<li>access to FQL (SQL-like)</li>
<li>API Key, Call Id, MD5 Hash of secret and Version needed on EVERY request</li>
</ul>
<p>CF is your glue</p>
<ul>
<li>Use API to get data</li>
<li>parse and loop over data with CF</li>
<li>output using FBML</li>
<li>store data associated with uid w/ CF + SQL</li>
<li>do not use cfLocation but rather fb:redirect and you can only redirect to FB</li>
</ul>
<p><strong>? Can you limit who can add your applciation by FB network?</strong></p>
<p>After they allow it, you would have access to all that information. If they are not in the network that you wanted then you could just show a denied message or there may be API functionality to kick them oput of the application.</p>
<p><a href="http://www.simonfree.com/presentations">simonfree.com/presentations</a></p>
<p><a href="http://www.twitter.com/simonfree">twitter.com/simonfree</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ericstoike.com/wp/2009/08/14/cfunited-notes-facebook-applications-with-a-cf-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.210 seconds -->

