<?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: Creating a Facebook (iFrame) app using Ruby on Rails &amp; Facebooker</title>
	<atom:link href="http://railsrant.com/2009/10/14/creating-a-facebook-iframe-app-using-ruby-on-rails-facebooker/feed/" rel="self" type="application/rss+xml" />
	<link>http://railsrant.com/2009/10/14/creating-a-facebook-iframe-app-using-ruby-on-rails-facebooker/</link>
	<description>My experience with Rails, Mongrel, Nginx, MySQL, etc..</description>
	<lastBuildDate>Sat, 13 Mar 2010 21:11:34 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jonny H</title>
		<link>http://railsrant.com/2009/10/14/creating-a-facebook-iframe-app-using-ruby-on-rails-facebooker/#comment-34</link>
		<dc:creator>Jonny H</dc:creator>
		<pubDate>Sat, 13 Mar 2010 21:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://railsrant.com/?p=96#comment-34</guid>
		<description>Thank you thank you thank you for this!

I googled around non-stop and was constantly using ensure_application_is_installed_by_facebook_user which created an infinite loop of nested iframes as you described.

Now I have ensure_authenticated_to_facebook at the top of my application_controller.rb and made the change to the Facebooker controller.rb as you specified above and everything is now working perfectly.

This was really a lifesaving post as I was about to scrap the iframe completely and go down the (painful) FBML path. Thank you thank thank you again, I feel like I owe you at least 25 beers.</description>
		<content:encoded><![CDATA[<p>Thank you thank you thank you for this!</p>
<p>I googled around non-stop and was constantly using ensure_application_is_installed_by_facebook_user which created an infinite loop of nested iframes as you described.</p>
<p>Now I have ensure_authenticated_to_facebook at the top of my application_controller.rb and made the change to the Facebooker controller.rb as you specified above and everything is now working perfectly.</p>
<p>This was really a lifesaving post as I was about to scrap the iframe completely and go down the (painful) FBML path. Thank you thank thank you again, I feel like I owe you at least 25 beers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul W.</title>
		<link>http://railsrant.com/2009/10/14/creating-a-facebook-iframe-app-using-ruby-on-rails-facebooker/#comment-7</link>
		<dc:creator>Paul W.</dc:creator>
		<pubDate>Wed, 18 Nov 2009 07:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://railsrant.com/?p=96#comment-7</guid>
		<description>Thank you for posting this, it was really helpful, I couldn&#039;t find the answer anywhere else. I had the same problem where if the user was not logged into FB, it would redirect them to my real site and not the FB iFrame site. Hard coding &quot;true&quot; for the canvas parameter seemed to do the trick.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thank you for posting this, it was really helpful, I couldn&#8217;t find the answer anywhere else. I had the same problem where if the user was not logged into FB, it would redirect them to my real site and not the FB iFrame site. Hard coding &#8220;true&#8221; for the canvas parameter seemed to do the trick.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
