<?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/"
	>
<channel>
	<title>Comments for Cut from the North</title>
	<atom:link href="http://cutfromthenorth.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://cutfromthenorth.com</link>
	<description>Internet Engineering and Product Development</description>
	<pubDate>Thu, 11 Mar 2010 00:52:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Handling &#8220;Session key invalid or no longer valid&#8221; errors from Facebook by Osku Tervonen</title>
		<link>http://cutfromthenorth.com/handling-session-key-invalid-or-no-longer-valid-errors-from-facebook/comment-page-1/#comment-199</link>
		<dc:creator>Osku Tervonen</dc:creator>
		<pubDate>Thu, 04 Mar 2010 11:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=134#comment-199</guid>
		<description>Yay. Thanks for this. I was banging my head on the table with this for a loong time.

Now I can just point people here when this problem comes up again.</description>
		<content:encoded><![CDATA[<p>Yay. Thanks for this. I was banging my head on the table with this for a loong time.</p>
<p>Now I can just point people here when this problem comes up again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating Facebook Connect with CakePHP&#8217;s Auth component by Tygas</title>
		<link>http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/comment-page-1/#comment-196</link>
		<dc:creator>Tygas</dc:creator>
		<pubDate>Mon, 30 Nov 2009 22:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=85#comment-196</guid>
		<description>Check the api and secret keys for those who are getting NULL in get_loggedin_user

I played few days and then saw what I am using keys from other applications.


Enable debug and you will see the facebook div with info if connected succesfully</description>
		<content:encoded><![CDATA[<p>Check the api and secret keys for those who are getting NULL in get_loggedin_user</p>
<p>I played few days and then saw what I am using keys from other applications.</p>
<p>Enable debug and you will see the facebook div with info if connected succesfully</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating Facebook Connect with CakePHP&#8217;s Auth component by Paul Gardner</title>
		<link>http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/comment-page-1/#comment-195</link>
		<dc:creator>Paul Gardner</dc:creator>
		<pubDate>Sat, 07 Nov 2009 07:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=85#comment-195</guid>
		<description>Thought I'd post a follow-up to the above comments as I am getting a fair bit of traffic from them.  Unfortunately I did not get a reply from the author of this blog, and as our site is frantically being developed to get it ready for a full-launch I had to pull the Facebook Connect integration for now.

I plan to have another go at this over the weekend though as I now have Sign in with Twitter working perfectly with CakePHP so I'm more confident that I will be able to resolve my Facebook Connect issues too, with a little help from their support team I hope.

I will post an update when I have it.

Paul.</description>
		<content:encoded><![CDATA[<p>Thought I&#8217;d post a follow-up to the above comments as I am getting a fair bit of traffic from them.  Unfortunately I did not get a reply from the author of this blog, and as our site is frantically being developed to get it ready for a full-launch I had to pull the Facebook Connect integration for now.</p>
<p>I plan to have another go at this over the weekend though as I now have Sign in with Twitter working perfectly with CakePHP so I&#8217;m more confident that I will be able to resolve my Facebook Connect issues too, with a little help from their support team I hope.</p>
<p>I will post an update when I have it.</p>
<p>Paul.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating Facebook Connect with CakePHP&#8217;s Auth component by Paul Gardner</title>
		<link>http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/comment-page-1/#comment-194</link>
		<dc:creator>Paul Gardner</dc:creator>
		<pubDate>Sat, 24 Oct 2009 23:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=85#comment-194</guid>
		<description>For reference, you can check my integration in action at www.localcause.org.uk, I don;t have the login/logout links in my layout, I only have the login button in my login view.</description>
		<content:encoded><![CDATA[<p>For reference, you can check my integration in action at <a href="http://www.localcause.org.uk" rel="nofollow">http://www.localcause.org.uk</a>, I don;t have the login/logout links in my layout, I only have the login button in my login view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating Facebook Connect with CakePHP&#8217;s Auth component by Paul Gardner</title>
		<link>http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/comment-page-1/#comment-193</link>
		<dc:creator>Paul Gardner</dc:creator>
		<pubDate>Sat, 24 Oct 2009 23:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=85#comment-193</guid>
		<description>Hi and firstly thanks for this tutorial.

Earlier today I integrated Sign in with Twitter based around this concept and I am now trying to get Facebook Connect working too.  

I am fairly happy with how far I have got other than the fact that my login seems to be working fine, but the user experience is poor.

This is because when the user is already logged into facebook the page *instantly* logs the user in but does not reload/redirect the page so you can't tell if anything has happened till you load another page.

When the user is not logged into facebook you get the facebook login box which closes once you supply valid login details, but again the main window does not redirect/reload so you're left with the main login page.

Any ideas how I get the auth-&gt;redirect() to work as it normally would, once that's working I would be sorted!

I have placed onlogin="window.location.reload();" in body which I suppose must be doing it's job as the facebook login process is able to create a user based on the facebook data, but I need the page to reload.</description>
		<content:encoded><![CDATA[<p>Hi and firstly thanks for this tutorial.</p>
<p>Earlier today I integrated Sign in with Twitter based around this concept and I am now trying to get Facebook Connect working too.  </p>
<p>I am fairly happy with how far I have got other than the fact that my login seems to be working fine, but the user experience is poor.</p>
<p>This is because when the user is already logged into facebook the page *instantly* logs the user in but does not reload/redirect the page so you can&#8217;t tell if anything has happened till you load another page.</p>
<p>When the user is not logged into facebook you get the facebook login box which closes once you supply valid login details, but again the main window does not redirect/reload so you&#8217;re left with the main login page.</p>
<p>Any ideas how I get the auth-&gt;redirect() to work as it normally would, once that&#8217;s working I would be sorted!</p>
<p>I have placed onlogin=&#8221;window.location.reload();&#8221; in body which I suppose must be doing it&#8217;s job as the facebook login process is able to create a user based on the facebook data, but I need the page to reload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling &#8220;Session key invalid or no longer valid&#8221; errors from Facebook by Jeremy Mikola</title>
		<link>http://cutfromthenorth.com/handling-session-key-invalid-or-no-longer-valid-errors-from-facebook/comment-page-1/#comment-186</link>
		<dc:creator>Jeremy Mikola</dc:creator>
		<pubDate>Wed, 07 Oct 2009 01:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=134#comment-186</guid>
		<description>&lt;a href="#comment-169" rel="nofollow"&gt;@Tom&lt;/a&gt; 

I believe I stumbled upon a bug in Facebook's PHP API, which explains exactly why expire_session() wasn't working.  Please take a look and see if the patch I included solves your problem.

http://bugs.developers.facebook.com/show_bug.cgi?id=7036

As I mentioned in the report, the alternative method some people use to terminate Facebook app sessions, set_user(null,null), works fine.  I made the mistake of thinking expire_session() was the more proper API method :)</description>
		<content:encoded><![CDATA[<p><a href="#comment-169" rel="nofollow">@Tom</a> </p>
<p>I believe I stumbled upon a bug in Facebook&#8217;s PHP API, which explains exactly why expire_session() wasn&#8217;t working.  Please take a look and see if the patch I included solves your problem.</p>
<p><a href="http://bugs.developers.facebook.com/show_bug.cgi?id=7036" rel="nofollow">http://bugs.developers.facebook.com/show_bug.cgi?id=7036</a></p>
<p>As I mentioned in the report, the alternative method some people use to terminate Facebook app sessions, set_user(null,null), works fine.  I made the mistake of thinking expire_session() was the more proper API method <img src='http://cutfromthenorth.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling &#8220;Session key invalid or no longer valid&#8221; errors from Facebook by Jeremy Mikola</title>
		<link>http://cutfromthenorth.com/handling-session-key-invalid-or-no-longer-valid-errors-from-facebook/comment-page-1/#comment-185</link>
		<dc:creator>Jeremy Mikola</dc:creator>
		<pubDate>Wed, 07 Oct 2009 00:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=134#comment-185</guid>
		<description>&lt;a href="#comment-169" rel="nofollow"&gt;@Tom&lt;/a&gt; 

Your exact problem is what I'm experiencing, and have reported, in this Facebook bug ticket:

http://bugs.developers.facebook.com/show_bug.cgi?id=6743

I'm not keen on the original post's solution of running a FB API call on each request - I'd rather catch exceptions at runtime and redirect/recover, even if it means yielding to a 500 error page.  The problem is that neither of the cookie-clearing functions you mentioned, nor set_user() called with null, will do the job.</description>
		<content:encoded><![CDATA[<p><a href="#comment-169" rel="nofollow">@Tom</a> </p>
<p>Your exact problem is what I&#8217;m experiencing, and have reported, in this Facebook bug ticket:</p>
<p><a href="http://bugs.developers.facebook.com/show_bug.cgi?id=6743" rel="nofollow">http://bugs.developers.facebook.com/show_bug.cgi?id=6743</a></p>
<p>I&#8217;m not keen on the original post&#8217;s solution of running a FB API call on each request - I&#8217;d rather catch exceptions at runtime and redirect/recover, even if it means yielding to a 500 error page.  The problem is that neither of the cookie-clearing functions you mentioned, nor set_user() called with null, will do the job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating Facebook Connect with CakePHP&#8217;s Auth component by Tom</title>
		<link>http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/comment-page-1/#comment-178</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=85#comment-178</guid>
		<description>&lt;a href="#comment-176" rel="nofollow"&gt;@Tom&lt;/a&gt; 
aha...and since you can't store data for more than 24hrs (over that is considered "indefinitely")...I'll just run an afterFind() and populate data from the API.. View caching set to 24hrs...and voila. It's as good to me as if it was stored in my own db. I can't afford to not use the caching though...How can I tell visitors to sit there and wait all that time while the API fetches data? I won't let FB tell me how to poorly run my site. I'll just follow their policy to it's very limits =) Food for thought if you roll things up into a plugin, which I'd be all too anxious to see. Thanks again.</description>
		<content:encoded><![CDATA[<p><a href="#comment-176" rel="nofollow">@Tom</a><br />
aha&#8230;and since you can&#8217;t store data for more than 24hrs (over that is considered &#8220;indefinitely&#8221;)&#8230;I&#8217;ll just run an afterFind() and populate data from the API.. View caching set to 24hrs&#8230;and voila. It&#8217;s as good to me as if it was stored in my own db. I can&#8217;t afford to not use the caching though&#8230;How can I tell visitors to sit there and wait all that time while the API fetches data? I won&#8217;t let FB tell me how to poorly run my site. I&#8217;ll just follow their policy to it&#8217;s very limits =) Food for thought if you roll things up into a plugin, which I&#8217;d be all too anxious to see. Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating Facebook Connect with CakePHP&#8217;s Auth component by kettle</title>
		<link>http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/comment-page-1/#comment-177</link>
		<dc:creator>kettle</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=85#comment-177</guid>
		<description>&lt;a href="#comment-176" rel="nofollow"&gt;@Tom&lt;/a&gt; 
Glad it finally won you over!</description>
		<content:encoded><![CDATA[<p><a href="#comment-176" rel="nofollow">@Tom</a><br />
Glad it finally won you over!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating Facebook Connect with CakePHP&#8217;s Auth component by Tom</title>
		<link>http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/comment-page-1/#comment-176</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://cutfromthenorth.com/?p=85#comment-176</guid>
		<description>&lt;a href="#comment-175" rel="nofollow"&gt;@kettle&lt;/a&gt; 
Thanks! This really has been an extremely helpful blog post.</description>
		<content:encoded><![CDATA[<p><a href="#comment-175" rel="nofollow">@kettle</a><br />
Thanks! This really has been an extremely helpful blog post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
