<?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: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>ColdFusion &#38; Facebook dev</title>
	<atom:link href="http://cffacebook.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cffacebook.wordpress.com</link>
	<description>everything you need to know about ColdFusion &#38; FaceBook</description>
	<lastBuildDate>Sun, 04 Jan 2009 16:11:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cffacebook.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ColdFusion &#38; Facebook dev</title>
		<link>http://cffacebook.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cffacebook.wordpress.com/osd.xml" title="ColdFusion &#38; Facebook dev" />
	<atom:link rel='hub' href='http://cffacebook.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Understanding the callMethodPost() API Call</title>
		<link>http://cffacebook.wordpress.com/2008/10/07/understanding-the-callmethodpost-api-call/</link>
		<comments>http://cffacebook.wordpress.com/2008/10/07/understanding-the-callmethodpost-api-call/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 01:45:11 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[Good To Know]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=365</guid>
		<description><![CDATA[*** SEE THE VIDEO *** callMethodPost() is a function I modified from Dominic Watson’s original callMethod() in his FBML Starter Kit. I decided to separate this function into two functions: callMethodGet() and callMethodPost(). Since you will be either getting or posting data, I felt that it was easier to separate the methods and call them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=365&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/2fc83a78-a651-440b-9a14-a6e146ab3a6c" target="_blank"><strong>*** SEE THE VIDEO ***</strong></a></p>
<p>callMethodPost() is a function I modified from Dominic Watson’s original callMethod() in his FBML Starter Kit. I decided to separate this function into two functions: callMethodGet() and callMethodPost(). Since you will be either getting or posting data, I felt that it was easier to separate the methods and call them according to what action you are taking.</p>
<p>&lt;cffunction name=&#8221;callMethodPost&#8221; access=&#8221;public&#8221; output=&#8221;false&#8221; returntype=&#8221;any&#8221; hint=&#8221;I act as a raw interface to the Facebook API and return the xml string response from the facebook server.&#8221;&gt;<br />
&lt;cfargument name=&#8221;method&#8221; type=&#8221;string&#8221; required=&#8221;yes&#8221; /&gt;<br />
&lt;cfargument name=&#8221;params&#8221; type=&#8221;struct&#8221; required=&#8221;no&#8221; default=&#8221;#StructNew()#&#8221; /&gt;<br />
&lt;cfargument name=&#8221;filepath&#8221; type=&#8221;string&#8221; required=&#8221;no&#8221; /&gt;</p>
<p>&lt;cfset var result = StructNew() /&gt;<br />
&lt;cfset var key = &#8220;&#8221;&gt;<br />
&lt;cfset this._tickCount = TimeFormat(now(), &#8220;hh:mm:ss&#8221;) &gt;</p>
<p>&lt;!&#8212; add params to the param struct &#8212;&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;method&#8221;, arguments.method) /&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;api_key&#8221;, variables._apiKey) /&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;v&#8221;, variables._apiVersion) /&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;call_id&#8221;, this._tickCount) /&gt;</p>
<p>&lt;!&#8212; add the signature [sig] &#8212;&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;sig&#8221;, generateSignature(arguments.params)) /&gt;</p>
<p>&lt;cfhttp url=&#8221;#variables._server#&#8221; method=&#8221;post&#8221; multipart=&#8221;yes&#8221; redirect=&#8221;no&#8221;&gt;<br />
&lt;cfloop collection=&#8221;#arguments.params#&#8221; item=&#8221;key&#8221;&gt;<br />
&lt;cfhttpparam name=&#8221;#key#&#8221; value=&#8221;#arguments.params[key]#&#8221; type=&#8221;formfield&#8221; /&gt;<br />
&lt;/cfloop&gt;<br />
&lt;cfhttpparam name=&#8221;filename&#8221; file=&#8221;#arguments.filepath#&#8221; type=&#8221;file&#8221; /&gt;<br />
&lt;/cfhttp&gt;</p>
<p>&lt;cfreturn cfhttp.FileContent /&gt;<br />
&lt;/cffunction&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/365/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=365&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/10/07/understanding-the-callmethodpost-api-call/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>
	</item>
		<item>
		<title>Using json and the Feed Preview Console</title>
		<link>http://cffacebook.wordpress.com/2008/10/05/using-json-and-the-feed-preview-console/</link>
		<comments>http://cffacebook.wordpress.com/2008/10/05/using-json-and-the-feed-preview-console/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 23:11:47 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[FBML]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=336</guid>
		<description><![CDATA[*** SEE THE VIDEOS *** Part 1 of 3: Using the Feed Preview Console Part 2 of 3: Creating the feedHandler.cfm page Part 3 of 3: Creating the form and calling the ajax window Creating a one line, short story and full story feed for your wall might sound really tough. You have to use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=336&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>*** SEE THE VIDEOS ***</strong></p>
<p><a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/b013221d-ba42-42e9-b2c9-2f2bc4812892" target="_blank">Part 1 of 3: Using the Feed Preview Console</a><br />
<a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/78f81c90-4f4e-4e13-b236-0322d6826779" target="_blank">Part 2 of 3: Creating the feedHandler.cfm page</a><br />
<a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/00c655d8-b384-49c2-b834-00670734eab5" target="_blank">Part 3 of 3: Creating the form and calling the ajax window</a></p>
<p><a href="http://cffacebook.files.wordpress.com/2008/10/publish-feed.jpg"><img class="alignnone size-full wp-image-338" title="publish-feed" src="http://cffacebook.files.wordpress.com/2008/10/publish-feed.jpg?w=500&#038;h=211" alt="" width="500" height="211" /></a></p>
<p>Creating a one line, short story and full story feed for your wall might sound really tough. You have to use json and if you are using ColdFusion, have very little documentation. Well I&#8217;m here to change that <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Really all you NEED to publish a feed on your wall is:</p>
<ol>
<li>a registered template bundle id</li>
<li>a feed handler page</li>
<li>a form to instantiate your feedStory call</li>
</ol>
<p><strong>*note:</strong> using the feed preview console allows you to register a template bundle id manually. if you wish to create multi-feed posts, you have to use feed.registerTemplateBundle and feed.publishUserAction. this allows you to create multi-feed posts, however, you are limited to 100 registered bundles. before you reach your limit, you may want to call feed.getRegisteredTemplateBundles and feed.deactivateTemplateBundleByID. these two api calls will give you breathing room for bundles you are not using.</p>
<p><strong>Register a template_bundle_id</strong></p>
<p>You MUST use the Feed Preview Console Facebook gives you. <a href="http://developers.facebook.com/tools.php?feed" target="_blank">http://developers.facebook.com/tools.php?feed</a></p>
<p><a href="http://cffacebook.files.wordpress.com/2008/10/feed-preview-console.jpg"><img class="alignnone size-full wp-image-343" title="feed-preview-console" src="http://cffacebook.files.wordpress.com/2008/10/feed-preview-console.jpg?w=500&#038;h=316" alt="" width="500" height="316" /></a></p>
<p>When you get to this screen it can be a bit intimidating but I promise you it&#8217;s really simple. The field to look at here is the &#8216;Sample Template Data&#8217;. This field makes the variable {*company*} available in your json response for example. To add a new variable to the flow just do this: {&#8220;myage&#8221;:&#8221;26&#8243;}. SIMPLE!</p>
<p>Now you can make a sentence like so, Gavin works for {*company*} in the city of {*city*} and is {*myage*} years old. Where {*company*} = Facebook, {*city*} = Palo Alto and {*myage*} = 26. Now it should start to make sense here.</p>
<p>As you browse over the console you start to see your entire layout for a one-line, short story and full story wall post. I chose not to use &#8216;Sample Target IDs&#8217; but if you want to incorporate what one user does with another, be sure to leave the Sample IDs Facebook throws in there for you. From here, it should make pretty good sense as to what you should do with the Feed Preview Console. The only other thing to mention is images will <strong>only </strong>show in the &#8216;Short Story&#8217; tab and <strong>should </strong>be utilized as imagery grabs the eye of users.</p>
<p>Click &#8216;Preview&#8217; and if you like your sample bundle, click Register Template Bundle. This will open an ajax window with your template_bundle_id. You can deactivate any Template Bundles you are not using by clicking on the &#8216;Registered Templates Console&#8217; tab. (again, it&#8217;s a good idea to deactivate non-used bundles as you are limited to 100 registered).</p>
<p><strong>Phew, Now let&#8217;s make our feedHandler.cfm page</strong></p>
<p>We need to create a feed handler page in order to output a json value. The ONLY purpose of this page is to return json, nothing else. This will be a typical coldfusion page that can have dynamic values and create dynamic feeds. Lets take a look at some code below:</p>
<p>&lt;cfoutput&gt;<br />
&lt;!&#8212; below is your json formatted &#8216;json&#8217; variable &#8212;&gt;<br />
&lt;cfset json = &#8216;{&#8220;content&#8221;:<br />
{&#8220;feed&#8221;:<br />
{&#8220;template_id&#8221;:#application.template_bundle_id#,<br />
&#8220;template_data&#8221;:{&#8220;company&#8221;:&#8221;#application.appNameCap#&#8221;,<br />
&#8220;link&#8221;:&#8221;&lt;a href=&#8221;#application.fburl#&#8221;&gt;#application.appNameCap#&lt;/a&gt;&#8221;,<br />
&#8220;here&#8221;:&#8221;&lt;a href=&#8221;#application.fburl#&#8221;&gt;clicking here&lt;/a&gt;&#8221;,<br />
&#8220;images&#8221;:[{"src":"#url.photo#", "href":"#url.photo#"}]<br />
}<br />
}<br />
},<br />
&#8220;method&#8221;:<br />
&#8220;feedStory&#8221;<br />
}&#8217; /&gt;</p>
<p>&lt;!&#8212; output your json response &#8212;&gt;<br />
#json#<br />
&lt;/cfoutput&gt;</p>
<p>As I mentioned earlier, the whole purpose of this page is to return the #json# variable. The variable we set simply passes in a template_id, your company name, your facebook url and a photo. Make note that you can use regular HTML in your variable ie. &lt;a href&#8230; as I have above. After looking at this we can see this is not too tough and if you go to feedHandler.cfm directly, you will see a format much like this.</p>
<p>{&#8220;content&#8221;: {&#8220;feed&#8221;: {&#8220;template_id&#8221;:29191437598, &#8220;template_data&#8221;:{&#8220;company&#8221;:&#8221;Humorous&#8221;, &#8220;link&#8221;:&#8221;<a href="http://apps.facebook.com/humorous?&amp;_fb_fromhash=ed5b1e2e8c69b9fd88dc4ff561564799">Humorous</a>&#8220;, &#8220;here&#8221;:&#8221;<a href="http://apps.facebook.com/humorous?&amp;_fb_fromhash=ed5b1e2e8c69b9fd88dc4ff561564799">clicking here</a>&#8220;, &#8220;images&#8221;:[{"src":"yourphoto.jpg", "href":"yourphoto url"}] } } }, &#8220;method&#8221;: &#8220;feedStory&#8221; }</p>
<p>With this output Facebook has almost everything it needs to create your one line, short story and full story ajax window. The only thing left is to call the window through a form. You can call your ajax window with the code below.</p>
<p><strong>Calling Our Ajax Window with a FORM</strong></p>
<p>&lt;form fbtype=&#8221;feedStory&#8221; action=&#8221;#application.faceBookPath#/#application.appNameLow#/feedHandler.cfm?photo=#application.urlPath#/extract/#url.pic#.jpg&#8221;&gt;<br />
&lt;input type=&#8221;submit&#8221; value=&#8221;Publish&#8221; label=&#8221;Publish This Photo to Your Wall&#8221; /&gt;<br />
&lt;/form&gt;</p>
<p>The MOST IMPORTANT part of the form above is fbtype=&#8221;feedStory&#8221;. You must pass this attribute and use type submit for your submit button. Once you have your registered template, created a feed handler page and put this form in your call page&#8230;.</p>
<p><strong>YOU SHOULD BE SUCCESSFULLY POSTING FEEDS TO YOUR WALL FROM YOUR APPLICATION!</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/336/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=336&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/10/05/using-json-and-the-feed-preview-console/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>

		<media:content url="http://cffacebook.files.wordpress.com/2008/10/publish-feed.jpg" medium="image">
			<media:title type="html">publish-feed</media:title>
		</media:content>

		<media:content url="http://cffacebook.files.wordpress.com/2008/10/feed-preview-console.jpg" medium="image">
			<media:title type="html">feed-preview-console</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding callMethodGet()</title>
		<link>http://cffacebook.wordpress.com/2008/10/02/understanding-callmethodget/</link>
		<comments>http://cffacebook.wordpress.com/2008/10/02/understanding-callmethodget/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 02:41:56 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[Good To Know]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=314</guid>
		<description><![CDATA[***** SEE THE VIDEO ***** ——————————————————————————- callMethodGet() is a function I used from Dominic Watson&#8217;s original callMethod() in his FBML Starter Kit. I decided to separate this function into two functions: callMethodGet() and callMethodPost(). Since you will be either getting or posting data, I felt that it was easier to separate the methods and call [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=314&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/0c48d887-aac6-4f04-9be5-dcc3c019755c" target="_blank"><strong>***** SEE THE VIDEO *****</strong></a></p>
<p>——————————————————————————-</p>
<p>callMethodGet() is a function I used from Dominic Watson&#8217;s original callMethod() in his FBML Starter Kit. I decided to separate this function into two functions: callMethodGet() and callMethodPost(). Since you will be either getting or posting data, I felt that it was easier to separate the methods and call them according to what action you are taking.</p>
<p>&lt;cffunction name=&#8221;callMethodGet&#8221; access=&#8221;public&#8221; output=&#8221;false&#8221; returntype=&#8221;any&#8221; hint=&#8221;I act as a raw interface to the Facebook API and return the xml string response from the facebook server.&#8221;&gt;<br />
&lt;cfargument name=&#8221;method&#8221; type=&#8221;string&#8221; required=&#8221;yes&#8221; /&gt;<br />
&lt;cfargument name=&#8221;params&#8221; type=&#8221;struct&#8221; required=&#8221;no&#8221; default=&#8221;#StructNew()#&#8221; /&gt;<br />
&lt;cfargument name=&#8221;filepath&#8221; type=&#8221;string&#8221; required=&#8221;no&#8221; /&gt;</p>
<p>&lt;cfset var result = StructNew() /&gt;<br />
&lt;cfset var key = &#8220;&#8221;&gt;<br />
&lt;cfset this._tickCount = TimeFormat(now(), &#8220;hh:mm:ss&#8221;) &gt;</p>
<p>&lt;!&#8212; add params to the param struct &#8212;&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;method&#8221;, arguments.method) /&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;api_key&#8221;, variables._apiKey) /&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;v&#8221;, variables._apiVersion) /&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;call_id&#8221;, this._tickCount) /&gt;</p>
<p>&lt;!&#8212; add the signature [sig] &#8212;&gt;<br />
&lt;cfset StructInsert(arguments.params, &#8220;sig&#8221;, generateSignature(arguments.params)) /&gt;</p>
<p>&lt;cfhttp url=&#8221;#variables._server#&#8221; method=&#8221;get&#8221; charset=&#8221;utf-8&#8243; redirect=&#8221;no&#8221; throwOnError=&#8221;yes&#8221; resolveurl=&#8221;1&#8243;&gt;<br />
&lt;cfloop collection=&#8221;#arguments.params#&#8221; item=&#8221;key&#8221;&gt;<br />
&lt;cfhttpparam name=&#8221;#key#&#8221; value=&#8221;#arguments.params[key]#&#8221; type=&#8221;url&#8221; /&gt;<br />
&lt;!&#8212; &lt;cfdump var=&#8221;#key#=#arguments.params[key]#&#8221;&gt; &#8212;&gt;<br />
&lt;/cfloop&gt;<br />
&lt;cfif StructKeyExists(arguments, &#8220;filepath&#8221;) and FileExists(arguments.filepath)&gt;<br />
&lt;cfhttpparam type=&#8221;file&#8221; name=&#8221;file&#8221; file=&#8221;#arguments.filepath#&#8221; /&gt;<br />
&lt;/cfif&gt;<br />
&lt;!&#8212; &lt;cfabort&gt; &#8212;&gt;<br />
&lt;/cfhttp&gt;</p>
<p>&lt;cfreturn cfhttp.FileContent /&gt;<br />
&lt;/cffunction&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=314&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/10/02/understanding-callmethodget/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>
	</item>
		<item>
		<title>What is a signature and why is it so hard to generate for the REST Server?</title>
		<link>http://cffacebook.wordpress.com/2008/09/23/what-is-a-signature-and-why-is-it-so-hard-to-generate-for-the-rest-server/</link>
		<comments>http://cffacebook.wordpress.com/2008/09/23/what-is-a-signature-and-why-is-it-so-hard-to-generate-for-the-rest-server/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 17:17:33 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[Good To Know]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=117</guid>
		<description><![CDATA[If your directly calling the REST Server from http://api.new.facebook.com/restserver.php you may find that it&#8217;s challenging to create a valid signature. This is because the signature is generated on the fly for each API call. You can still call the REST directly to get a response but you will have to dump the signature value each [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=117&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If your directly calling the REST Server from <a href="http://api.new.facebook.com/restserver.php" target="_blank">http://api.new.facebook.com/restserver.php</a> you may find that it&#8217;s challenging to create a valid signature. This is because the signature is generated on the fly for each API call. You can still call the REST directly to get a response but you will have to dump the signature value each time you make a request to the server. (this is not ideal by any means)</p>
<p>Instead use FaceBook&#8217;s Tools on their developers.facebook.com site. This gives you the same responses and generates everything for you automatically.</p>
<p>I only mention this because a lot of developers try to hit the REST Server directly. This is not neccessary as FaceBook has developed the tools to make life easier. <strong>SO USE THEM!</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=117&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/09/23/what-is-a-signature-and-why-is-it-so-hard-to-generate-for-the-rest-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>
	</item>
		<item>
		<title>Important &#8216;init&#8217; function for use with the REST Server</title>
		<link>http://cffacebook.wordpress.com/2008/09/23/important-init-function-to-use-with-the-rest-server/</link>
		<comments>http://cffacebook.wordpress.com/2008/09/23/important-init-function-to-use-with-the-rest-server/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 17:01:36 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[Getting Started]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=102</guid>
		<description><![CDATA[Initiating the Facebook REST Client with ColdFusion

the function below will set you up to communicate with the REST Server. There are 5 required parameters you must pass to the server in order to call any API.

Required Parameters

   1. api key
   2. secret key
   3. canvas url
   4. callback url
   5. server path
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=102&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/4dedb7ec-bf2c-49a6-90ae-4adaf3f71440" target="_blank"><strong>***** SEE THE VIDEO *****</strong></a></p>
<p>——————————————————————————-</p>
<p><strong>Initiating the Facebook REST Client with ColdFusion</strong></p>
<p>the function below will set you up to communicate with the REST Server. There are 5 required parameters you must pass to the server in order to call any API.</p>
<p><strong>Required Parameters</strong></p>
<ol>
<li>api key</li>
<li>secret key</li>
<li>canvas url</li>
<li>callback url</li>
<li>server path</li>
</ol>
<hr /><span style="font-size:11px;color:#000000;"><br />
&lt;cffunction name=&#8221;init&#8221; access=&#8221;public&#8221; returntype=&#8221;FacebookFBMLClient&#8221; output=&#8221;false&#8221;&gt;<br />
&lt;cfargument name=&#8221;apiKey&#8221; type=&#8221;string&#8221; required=&#8221;yes&#8221; /&gt;<br />
&lt;cfargument name=&#8221;secret&#8221; type=&#8221;string&#8221; required=&#8221;yes&#8221; /&gt;<br />
&lt;cfargument name=&#8221;url&#8221; type=&#8221;string&#8221; required=&#8221;yes&#8221; /&gt;<br />
&lt;cfargument name=&#8221;callbackURL&#8221; type=&#8221;string&#8221; required=&#8221;yes&#8221;&gt;<br />
&lt;cfargument name=&#8221;server&#8221; type=&#8221;string&#8221; required=&#8221;no&#8221; default=&#8221;http://api.new.facebook.com/restserver.php&#8221; /&gt;<br />
&lt;cfargument name=&#8221;apiVersion&#8221; type=&#8221;string&#8221; required=&#8221;no&#8221; default=&#8221;1.0&#8243; /&gt;<br />
&lt;cfargument name=&#8221;format&#8221; type=&#8221;string&#8221; required=&#8221;no&#8221; default=&#8221;xml&#8221; /&gt;</span></p>
<p><span style="font-size:11px;color:#000000;">&lt;cfscript&gt;<br />
variables._apiKey = arguments.apiKey;<br />
variables._secret = arguments.secret;<br />
variables._url = arguments.url<br />
variables._callbackURL = arguments.callbackURL;<br />
variables._server = arguments.server;<br />
variables._apiVersion = arguments.apiVersion;<br />
variables._format = arguments.format;</span></p>
<p><span style="font-size:11px;color:#000000;">return this;<br />
&lt;/cfscript&gt;<br />
&lt;/cffunction&gt;<br />
</span></p>
<hr />
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=102&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/09/23/important-init-function-to-use-with-the-rest-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>
	</item>
		<item>
		<title>What are Extended Permissions?</title>
		<link>http://cffacebook.wordpress.com/2008/09/23/what-are-extended-permissions/</link>
		<comments>http://cffacebook.wordpress.com/2008/09/23/what-are-extended-permissions/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 16:59:50 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[Good To Know]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=100</guid>
		<description><![CDATA[***** SEE THE VIDEO ***** ——————————————————————————- Extended Permissions are a way for your app users to grant access without asking for approval. For example, if you use the photo_upload extended permission, your users no longer have to approve an image each time they upload a photo from your application. Or if you use the email [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=100&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/b8786e1f-e669-4c62-ac7a-93b4139ae386" target="_blank"><strong>***** SEE THE VIDEO *****</strong></a></p>
<p>——————————————————————————-</p>
<p>Extended Permissions are a way for your app users to grant access without asking for approval. For example, if you use the <strong>photo_upload</strong> extended permission, your users no longer have to approve an image each time they upload a photo from your application. Or if you use the <strong>email</strong> permission, your user can receive e-mails from your application.</p>
<p><strong>So How Do I Call an Extended Permission?</strong></p>
<p>you can request permissions in 3 different ways:</p>
<ol>
<li>using the fb:prompt-permission tag</li>
<li>including the promptpermission attribute in a form</li>
<li>sending user to <span class="external free">http://www.facebook.com/authorize.php?api_key=123456789&amp;v=1.0&amp;</span><a class="external free" title="http://www.facebook.com/authorize.php?api_key=YOUR_API_KEY&amp;v=1.0&amp;ext_perm=PERMISSION_NAME" rel="nofollow" href="http://www.facebook.com/authorize.php?api_key=YOUR_API_KEY&amp;v=1.0&amp;ext_perm=PERMISSION_NAME">ext_perm=PERMISSION_NAME</a></li>
</ol>
<p>*I prefer to use the fb:prompt-permission FBML tag. I like the cleanliness of the tag as it pops-up an ajax window members can use to quickly approve or deny a permission</p>
<p>&lt;fb:prompt-permission perms=&#8221;<strong>photo_upload</strong>&#8220;&gt;<br />
&lt;p&gt;&lt;h4 style=&#8221;color:##ff0000;&#8221;&gt;*Always Allow Photo Uploads*&lt;/h4&gt;<br />
(skips pending album/photo upload)&lt;/p&gt;<br />
&lt;/fb:prompt-permission&gt;</p>
<p>*Users can revoke extended permissions through their application settings.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=100&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/09/23/what-are-extended-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>
	</item>
		<item>
		<title>Calling the photos.upload API</title>
		<link>http://cffacebook.wordpress.com/2008/09/23/calling-the-photosupload-api/</link>
		<comments>http://cffacebook.wordpress.com/2008/09/23/calling-the-photosupload-api/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 16:59:35 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[API]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=98</guid>
		<description><![CDATA[*** SEE THE VIDEO *** Before we begin to upload a photo you should know the photo_upload work flow. All photos need to first know their destination. Whether it be a new ablum (photos.createAlbum) or an existing album (photos.getAlbum). Once a photo knows it&#8217;s destination, it can then be uploaded and be tagged (optional). NOTE: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=98&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.screencast.com/users/GavinVincent/folders/Default/media/67050534-8534-4a21-9a03-cccaac799036" target="_blank">*** SEE THE VIDEO ***</a></strong></p>
<p>Before we begin to upload a photo you should know the photo_upload work flow.</p>
<p>All photos need to <strong>first </strong>know their destination. Whether it be a new ablum (photos.createAlbum) or an existing album (photos.getAlbum). Once a photo knows it&#8217;s destination, it can then be uploaded and be tagged (optional).</p>
<p><strong>NOTE</strong>: Upload requests must be formed as a MIME multi-part message sent using POST data. Each argument, including the raw image data, should be specified as a separate chunk of form data. Facebook only supports images up to 604 pixels so be sure to scale properly before you upload.</p>
<p>(you may want to use the extended permission &#8216;photo_upload&#8217; as well. this way the users do not have to approve each photo upload)</p>
<p><strong>Lets call the photos.upload API</strong></p>
<p>We will assume that were uploading to a current album (aid). Also, session_key is no longer required so you can choose whether or not you wish to pass it in.</p>
<p>#FBMLClient.PhotosUpload(session.fb_session_key,filename,aid)#</p>
<p>In this request we simply call our function &#8216;PhotosUpload&#8217;. We then pass in our session_key, filename (raw image)  and our aid (album id)</p>
<p><strong>PhotosUpload Function</strong></p>
<p>&lt;cffunction name=&#8221;PhotosUpload&#8221; access=&#8221;public&#8221; output=&#8221;false&#8221; returntype=&#8221;any&#8221;&gt;</p>
<p><span> </span>&lt;cfargument name=&#8221;session_key&#8221; type=&#8221;string&#8221; required=&#8221;true&#8221; hint=&#8221;The session key belonging to the user uploading the photo&#8221;&gt;</p>
<p><span> </span>&lt;cfargument name=&#8221;filePath&#8221; type=&#8221;string&#8221; required=&#8221;true&#8221; hint=&#8221;Path to the image on the server&#8221;&gt;</p>
<p><span> </span>&lt;cfargument name=&#8221;aid&#8221; type=&#8221;numeric&#8221; required=&#8221;true&#8221; hint=&#8221;The facebook ID of the album to which to upload the photo. If this has not been supplied, the photo will be uploaded to the application&#8217;s default album.&#8221;&gt;</p>
<p><span> </span>&lt;cfargument name=&#8221;caption&#8221; type=&#8221;string&#8221; required=&#8221;false&#8221; default=&#8221;" hint=&#8221;Photo Caption.&#8221;&gt;</p>
<p><span> </span></p>
<p><span> </span>&lt;cfset var params = StructNew() /&gt;</p>
<p><span> </span></p>
<p><span> </span>&lt;cfset params["session_key"] = arguments.session_key /&gt;</p>
<p><span> </span>&lt;cfset params["aid"] = arguments.aid /&gt;</p>
<p><span> </span>&lt;cfset params["caption"] = arguments.caption /&gt;</p>
<p><span> </span>&lt;cfreturn callMethodPost(&#8220;facebook.photos.upload&#8221;, params, arguments.filePath) /&gt;</p>
<p><span> </span>&lt;/cffunction&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=98&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/09/23/calling-the-photosupload-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>
	</item>
		<item>
		<title>How can I test FBML, API, FQL, etc. from FaceBook?</title>
		<link>http://cffacebook.wordpress.com/2008/09/23/how-can-i-test-fbml-api-fql-from-facebook/</link>
		<comments>http://cffacebook.wordpress.com/2008/09/23/how-can-i-test-fbml-api-fql-from-facebook/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 16:56:35 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[Getting Started]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=95</guid>
		<description><![CDATA[FaceBook features a great section in developers.facebook.com named Tools. In here, they have a complete set of tools that allow you to test and make your calls are in working order and what they might look like. If your calling an API, it will even show you the response from the REST Server.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=95&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>FaceBook features a great section in <a href="http://developers.facebook.com" target="_blank">developers.facebook.com</a> named Tools. In here, they have a complete set of tools that allow you to test and make your calls are in working order and what they might look like. If your calling an API, it will even show you the response from the REST Server.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=95&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/09/23/how-can-i-test-fbml-api-fql-from-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>
	</item>
		<item>
		<title>Using the fb:explanation tag</title>
		<link>http://cffacebook.wordpress.com/2008/09/23/using-the-fbexplanation-tag/</link>
		<comments>http://cffacebook.wordpress.com/2008/09/23/using-the-fbexplanation-tag/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 16:52:56 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[FBML]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=93</guid>
		<description><![CDATA[The fb:explanation tag is a handy little FBML statement that allows you to display an important message your app users will most likely not miss. &#60;fb:explanation&#62; &#60;fb:message&#62;Explanation message&#60;/fb:message&#62; This is the explanation message text. &#60;/fb:explanation&#62; You can see you wrap your message in an explanation tags and use &#8216;message&#8217; to highlight your header. Pretty simple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=93&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The fb:explanation tag is a handy little FBML statement that allows you to display an important message your app users will most likely not miss.</p>
<p>&lt;fb:explanation&gt;<br />
&lt;fb:message&gt;Explanation message&lt;/fb:message&gt;<br />
This is the explanation message text.<br />
&lt;/fb:explanation&gt;</p>
<p><a href="http://cffacebook.files.wordpress.com/2008/10/exp.jpg"><img class="alignnone size-full wp-image-272" title="exp" src="http://cffacebook.files.wordpress.com/2008/10/exp.jpg?w=500" alt=""   /></a></p>
<p>You can see you wrap your message in an explanation tags and use &#8216;message&#8217; to highlight your header.</p>
<p>Pretty simple but very productive if your looking to display an effective message.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=93&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/09/23/using-the-fbexplanation-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>

		<media:content url="http://cffacebook.files.wordpress.com/2008/10/exp.jpg" medium="image">
			<media:title type="html">exp</media:title>
		</media:content>
	</item>
		<item>
		<title>Using the fb:multi-friend-selector tag</title>
		<link>http://cffacebook.wordpress.com/2008/09/23/using-the-fbmulti-friend-selector-tag/</link>
		<comments>http://cffacebook.wordpress.com/2008/09/23/using-the-fbmulti-friend-selector-tag/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 16:52:14 +0000</pubDate>
		<dc:creator>gavyg</dc:creator>
				<category><![CDATA[FBML]]></category>

		<guid isPermaLink="false">http://cffacebook.wordpress.com/?p=66</guid>
		<description><![CDATA[This is another one of those AMAZING pre-built FBML tags that give you the power to really grow your app. This tag is singly the most important piece of FBML you can add to your application as it allows your friends to invite their friends and so on and so on. &#60;fb:multi-friend-selector actiontext=&#8221;Select the friends [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=66&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is another one of those AMAZING pre-built FBML tags that give you the power to really grow your app. This tag is singly the <strong>most important </strong>piece of FBML you can add to your application as it allows your friends to invite their friends and so on and so on.</p>
<p>&lt;fb:multi-friend-selector actiontext=&#8221;Select the  friends you want to invite. (All of them.)&#8221; rows=&#8221;3&#8243;/&gt;</p>
<p>The tag above will product the code below:</p>
<p><a href="http://cffacebook.files.wordpress.com/2008/09/friend-selector1.jpg"><img class="alignnone size-full wp-image-201" title="friend-selector1" src="http://cffacebook.files.wordpress.com/2008/09/friend-selector1.jpg?w=500" alt=""   /></a></p>
<p>As you can see, you will be able to click any of the friends above and send them suggestions to interact with your application!</p>
<p><strong>BELOW ARE THE PARAMETERS YOU CAN USE WITH THIS TAG</strong></p>
<h2><span class="mw-headline"> </span></h2>
<table style="border:1px solid #88dd00;background-color:#ddffbb;border-collapse:collapse;border-spacing:3px;width:100%;margin:0;" border="0" cellpadding="4">
<tbody>
<tr>
<td><strong>Required</strong></td>
<td><strong>Name</strong></td>
<td><strong>Type</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr valign="top">
<th>required</th>
<td>actiontext</td>
<td><tt><a title="String" href="http://wiki.developers.facebook.com/index.php/String">string</a></tt></td>
<td>An instructional message to display to users at the top of the multi-friend-selector.</td>
<td></td>
</tr>
<tr valign="top">
<th>optional</th>
<td>showborder</td>
<td><tt><a title="Bool" href="http://wiki.developers.facebook.com/index.php/Bool">bool</a></tt></td>
<td>Indicates whether you want a border around the outside of the multi-friend-selector.</td>
<td></td>
</tr>
<tr valign="top">
<th></th>
<td>rows</td>
<td><tt><a title="Int" href="http://wiki.developers.facebook.com/index.php/Int">int</a></tt></td>
<td>The number of rows of friends to show in the multi-friend-selector. <em>(Default value is 5 and the value must be between 3 and 10.)</em></td>
<td></td>
</tr>
<tr valign="top">
<th></th>
<td>max</td>
<td><tt><a title="Int" href="http://wiki.developers.facebook.com/index.php/Int">int</a></tt></td>
<td>The maximum number of users that can be selected. This value ranges from 1 to 35, and is capped at the number of friend requests the user has remaining under their limit. This attribute is ignored if it is greater than the number of requests your application is able to send.</td>
<td></td>
</tr>
<tr valign="top">
<th></th>
<td>exclude_ids</td>
<td><tt><a title="Array" href="http://wiki.developers.facebook.com/index.php/Array">array</a></tt></td>
<td>A comma-separated list of <a title="User id" href="http://wiki.developers.facebook.com/index.php/User_id">user IDs</a> to exclude from the multi-friend-selector.</td>
<td></td>
</tr>
<tr valign="top">
<th></th>
<td>bypass</td>
<td><tt><a title="String" href="http://wiki.developers.facebook.com/index.php/String">string</a></tt></td>
<td>The version of the <strong>Bypass</strong> button you want to use. Set this attribute to &#8220;step&#8221;, &#8220;cancel&#8221;, or &#8220;skip&#8221;, which results in <strong>Skip This Step</strong>, <strong>Cancel</strong>, or <strong>Skip</strong>, respectively. <em>(Default value is skip.)</em></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cffacebook.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cffacebook.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cffacebook.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cffacebook.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cffacebook.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cffacebook.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cffacebook.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cffacebook.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cffacebook.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cffacebook.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cffacebook.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cffacebook.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cffacebook.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cffacebook.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cffacebook.wordpress.com&amp;blog=4943846&amp;post=66&amp;subd=cffacebook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cffacebook.wordpress.com/2008/09/23/using-the-fbmulti-friend-selector-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/246e1ca1d7eec75afa3984bb09ece01b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gavyg</media:title>
		</media:content>

		<media:content url="http://cffacebook.files.wordpress.com/2008/09/friend-selector1.jpg" medium="image">
			<media:title type="html">friend-selector1</media:title>
		</media:content>
	</item>
	</channel>
</rss>
