<?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>Seán Hayes &#187; facebook</title>
	<atom:link href="http://seanhayes.name/tag/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanhayes.name</link>
	<description>Web Developer in Rochester, NY (Django, JavaScript, LAMP)</description>
	<lastBuildDate>Tue, 06 Mar 2012 01:07:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Twitter Web Intents Javascript Events Not Firing</title>
		<link>http://seanhayes.name/2011/08/31/twitter-web-intents-javascript/</link>
		<comments>http://seanhayes.name/2011/08/31/twitter-web-intents-javascript/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 20:33:35 +0000</pubDate>
		<dc:creator>Seán Hayes</dc:creator>
				<category><![CDATA[Web Design & Development]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web intents]]></category>

		<guid isPermaLink="false">http://seanhayes.name/?p=265</guid>
		<description><![CDATA[If you&#8217;re trying out Twitter&#8217;s Web Intents Javascript Events and it&#8217;s not working, be aware that they only work if your HTML page is loaded from an HTTP server. If you open your page locally off your hard drive it &#8230; <a href="http://seanhayes.name/2011/08/31/twitter-web-intents-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying out Twitter&#8217;s <a href="https://dev.twitter.com/docs/intents/events">Web Intents Javascript Events</a> and it&#8217;s not working, be aware that they only work if your HTML page is loaded from an HTTP server. If you open your page locally off your hard drive it won&#8217;t work, though you can fire up an Apache instance on your localhost and it&#8217;ll work from there.</p>
<p>Source: <a href="https://dev.twitter.com/comment/reply/304/491">https://dev.twitter.com/comment/reply/304/491</a></p>
<p>Update: It looks like this can also happen with the Facebook JavaScript API: <a href="http://forum.developers.facebook.net/viewtopic.php?pid=362167#p362167">http://forum.developers.facebook.net/viewtopic.php?pid=362167#p362167</a>. I guess <a href="http://vimeo.com/forums/topic:28340">it&#8217;s because they use iFrames</a>, and using them locally can cause security problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanhayes.name/2011/08/31/twitter-web-intents-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cookies Not Saved In Internet Explorer for Facebook iframe Apps</title>
		<link>http://seanhayes.name/2011/07/08/cookies-saved-internet-explorer/</link>
		<comments>http://seanhayes.name/2011/07/08/cookies-saved-internet-explorer/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 01:02:16 +0000</pubDate>
		<dc:creator>Seán Hayes</dc:creator>
				<category><![CDATA[Web Design & Development]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[p3p]]></category>

		<guid isPermaLink="false">http://seanhayes.name/?p=238</guid>
		<description><![CDATA[I&#8217;m making a Facebook game using Django and was having a problem with Internet Explorer. The Problem: After login the page would render correctly as if the user was logged in, but when navigating to another page it was as &#8230; <a href="http://seanhayes.name/2011/07/08/cookies-saved-internet-explorer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m making a Facebook game using Django and was having a problem with Internet Explorer.</p>
<p>The Problem: After login the page would render correctly as if the user was logged in, but when navigating to another page it was as if the user wasn&#8217;t logged in. Upon investigation I could see that the cookies weren&#8217;t being saved.</p>
<p>The Solution: A quick Gogole search brought me to this blog post: <a href="http://adamyoung.net/IE-Blocking-iFrame-Cookies">IE Blocking iFrame Cookies</a>. It&#8217;s an easy to fix P3P issue, and the author describes how to add the necessary header for various languages/frameworks.</p>
<p>Rather than add the header to each Django view or write custom Django middleware, I just added the header to my Apache configuration. The following goes in your VirtualHost Directive:</p>
<p>Header add P3P &#8216;CP=&#8221;IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT&#8221;&#8216;</p>
<p>In order to work you have to enable mod_headers (run &#8220;sudo a2enmod headers&#8221;).</p>
]]></content:encoded>
			<wfw:commentRss>http://seanhayes.name/2011/07/08/cookies-saved-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Twitter Better Plugin</title>
		<link>http://seanhayes.name/2008/06/20/wordpress-twitter-plugin/</link>
		<comments>http://seanhayes.name/2008/06/20/wordpress-twitter-plugin/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 14:45:53 +0000</pubDate>
		<dc:creator>Seán Hayes</dc:creator>
				<category><![CDATA[Internet Marketing/SEO/Personal Branding]]></category>
		<category><![CDATA[Web Design & Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://seanhayes.name/?p=15</guid>
		<description><![CDATA[One great way I recently found to publicize new blog posts is with the Twitter Better WordPress Plugin. It serves 2 functions: Shows your latest Twitter posts Optionally updates your Twitter status when you save, publish, and/or edit a post, &#8230; <a href="http://seanhayes.name/2008/06/20/wordpress-twitter-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One great way I recently found to publicize new blog posts is with the <a title="Twitter Better" href="http://turbochargedcms.com/wordpress-plugins/twitter-better/">Twitter Better</a> WordPress Plugin. It serves 2 functions:</p>
<ul>
<li>Shows your latest Twitter posts</li>
<li>Optionally updates your Twitter status when you save, publish, and/or edit a post, with a link to the post</li>
</ul>
<p>It&#8217;s a really simple way to spread your URL around the internet, especially since Twitter is integrated with so many other web apps. For example, I have Twitter Better set to update my Twitter status when I publish a new post with the title and URL of the post. That new Twitter status is then used to automatically update my Facebook status with the title and URL of my new blog post, and the same can work for any other Twitter enabled web apps I use in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanhayes.name/2008/06/20/wordpress-twitter-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

