<?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>ajgraham.com &#187; facebook</title>
	<atom:link href="http://www.ajgraham.com/tag/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajgraham.com</link>
	<description>web design, development and consultation in Prague</description>
	<lastBuildDate>Tue, 01 Nov 2011 22:16:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Getting an RSS feed from Facebook</title>
		<link>http://www.ajgraham.com/2011/01/data-feed-facebook-rss-jso/</link>
		<comments>http://www.ajgraham.com/2011/01/data-feed-facebook-rss-jso/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 02:13:10 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.ajgraham.com/?p=530</guid>
		<description><![CDATA[From my experience Facebook tends to provoke strong reactions, both positive or negative. As a developer who works with Facebook often in one way or another I&#8217;ve had lots of frustrating moments mainly due to poor/incorrect documentation. I spent a while trying to find the best way to export a [...]]]></description>
			<content:encoded><![CDATA[<p>From my experience Facebook tends to provoke strong reactions, both positive or negative. As a developer who works with Facebook often in one way or another I&#8217;ve had lots of frustrating moments mainly due to poor/incorrect documentation.</p>
<p>I spent a while trying to find the best way to export a public Facebook pages posts in the form of an RSS feed. Facebook don&#8217;t provide an easy way to do this (only on Notifications, e.g. <a href="http://www.facebook.com/notifications.php">facebook.com/notifications.php</a>), although it can be done with a workaround in 2 different ways.</p>
<h3>Via Twitter</h3>
<p>You can connect a Facebook page to Twitter and any new posts will automatically be sent to a Twitter account you specify (you can do this through <a href="http://www.facebook.com/twitter/">facebook.com/twitter/</a>). With this carried out, you can then access the RSS feed of the Twitter account. This works but confines you to the 140 characters limit and will include a link back to the original Facebook post within the tweet.</p>
<h3>The long way round</h3>
<p>Another way would be to make a system to automatically create an RSS feed from the Facebook pages JSON feed (example: https://graph.facebook.com/<em>pagename or id</em>/feed). This has the benefit of displaying your Facebook posts in full. The downside is of course the extra work and complication involved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajgraham.com/2011/01/data-feed-facebook-rss-jso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media: Overview of Facebook, Twitter and LinkedIn</title>
		<link>http://www.ajgraham.com/2010/11/social-media-efficient-marketing-with-facebook-twitter/</link>
		<comments>http://www.ajgraham.com/2010/11/social-media-efficient-marketing-with-facebook-twitter/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 22:30:59 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[linked in]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.ajgraham.com/?p=420</guid>
		<description><![CDATA[Over the past few years I&#8217;ve watched the way the Internet has gradually changed. The leap from old school websites where all the content and features were served up 100% themselves is so far gone that I can barely remember it existing. Almost every website has some form of external [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few years I&#8217;ve watched the way the Internet has gradually changed. The leap from old school websites where all the content and features were served up 100% themselves is so far gone that I can barely remember it existing. Almost every website has some form of external input or aggregation, whether to provide additional niche features or website content that can make the difference between websites/companies being successful or not.</p>
<p>The challenge is to make the correct decisions when adding social media features, it&#8217;s all too easy to add 20 &#8216;sharing&#8217; buttons to a page when trying to cover all the bases and end up creating an awful user experience. The key is to know which social media services demographics best match the demographics and the type of info being shared by a company or organisation. Basically trying to find a best fit, if one exists.</p>
<h3>Facebook</h3>
<p>Facebook over the past 2 years has grown to become a huge social platform. They have 500 million registered members, and 200+ million of those use it through mobile devices and both stats are growing steadily (see <a href="http://www.facebook.com/press/info.php?statistics">www.facebook.com/press/info.php?statistics</a>). A wide variety of age groups use Facebook, although it is heavily slanted towards teenagers and &#8217;20-somethings&#8217;, this is changing gradually though as Facebook becomes synonymous with using the Internet.</p>
<p>Age Range: All (13 y/o&#8217;s and over).<br />
Location: Generally US, Europe and South America have very high use, although it is quickly spreading in Asia, Middle East and beyond.</p>
<p>Marketing with Facebook can be carried out via 2 main methods:<br />
<strong>Fan Pages</strong> allow standard Facebook users to &#8216;Like&#8217; them, which means that anything published to the Fan Page will be seen by everyone who has &#8216;Liked&#8217; it. This creates a valuable communication stream which is best used with weekly/bi-weekly updates to ensure regular contact, although it&#8217;s important to make sure you don&#8217;t spam the user as you&#8217;ll likely dilute the usefulness of the tool and/or lose them as a &#8216;fan&#8217;. There is also a spin-off of this whereby users can allowed to &#8216;Share&#8217; or &#8216;Like&#8217; specific webpages, which is used to good effect on news items, video or other similar individual pieces of content. A good example of this is the ability to share a video on YouTube to your Facebook account.</p>
<p><strong>Facebook Ads</strong> allow an advertiser to focus ads to Facebook users via specific demographics such as age, location and interests. Due to Facebook users supplying this information via their profiles this helps to make advertising as pin-point as is possible on the internet at the moment, which is much more accurate than almost all over alternatives.</p>
<h3>Twitter</h3>
<p>Twitter is similar in some respects to Facebook, but has some key differences. Twitter is designed for much more verbose communication with a 140 character limit, and an emphasis on time sensitivity. Twitter has ~150 million registered users, although its churn rate (the number of users that sign up and don&#8217;t use their account again) is widely regarded as being far higher than Facebook. <a href="http://techcrunch.com/2010/09/02/twitter-stats/">Twitter stats</a>.</p>
<p>Age Range: All (13 y/o&#8217;s and over).<br />
Location: Significant usage almost everywhere.</p>
<p>Marketing is generally best done via encouraging retweeting (which is the equivalent of repeating a specific piece of information, thus adding kudos). This is often described as something &#8216;going viral&#8217; on the internet. Twitter is used to publicise pretty much anything, although it&#8217;s best used as bait (due to the limited number of characters) to link to breaking news or similar situations.</p>
<h3>LinkedIn</h3>
<p>LinkedIn is primarily used for professional contacts to build a network of people they know via employment both past and present. There are 80 million users, although 40 million are based in the US which weaken its appeal outside of the US. <a href="http://press.linkedin.com/">LinkedIn stats</a>.</p>
<p>Age Range: All (18 y/o&#8217;s and over).<br />
Location: Significant usage US mostly, but still common in Europe.</p>
<p>Marketing can be carried out similarily to Facebook, by allowing people to share content to LinkedIn this content would then be visible to all of their contacts. Marketing aimed towards LinkedIn (due to the nature of LinkedIn) is best done for any information that is work related, thus is more niche than what you would share on Facebook.</p>
<h3>Conclusions</h3>
<p>Each service is significantly different, in some cases all 3 may be useful to visitors if a website has a wide range of content but is unlikely. Try not to clog a website with 100 ways to share content when only 2 are really popular as you&#8217;ll sacrifice a lot of page space and confuse some users, not to mention increase page loading times.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajgraham.com/2010/11/social-media-efficient-marketing-with-facebook-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieve Facebook page status with no authenticating or permissions issues</title>
		<link>http://www.ajgraham.com/2010/07/get-facebook-page-stream-simple-easy/</link>
		<comments>http://www.ajgraham.com/2010/07/get-facebook-page-stream-simple-easy/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 21:42:11 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[retrieve]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[scraping]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://www.ajgraham.com/?p=451</guid>
		<description><![CDATA[If you&#8217;re just looking to read the &#8216;Stream&#8217; or &#8216;Statuses&#8217; of a Facebook fan page (not a normal Profile page) it can be done very easily. Due to all Fan Pages being public (their are 2 settings: published or unpublished), as long as the Fan page is published then you [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re just looking to read the &#8216;Stream&#8217; or &#8216;Statuses&#8217; of a Facebook fan page (<em>not</em> a normal Profile page) it can be done very easily. Due to all Fan Pages being public (their are 2 settings: published or unpublished), as long as the Fan page is published then you can retrieve any data from it, no authentication, no API, no messing around.</p>
<p>Step 1 &#8211; Find the page feed for the Fan Page<br />
The basic URL format of a Facebook fan page feed is:</p>
<pre><code>https://graph.facebook.com/ID of Page/feed</code></pre>
<p>If you can&#8217;t find your unique Page ID <a target="_blank" rel="nofollow" href="http://help.wildfireapp.com/faqs/tutorials/how-to-find-out-your-facebook-fan-page-public-profile-id">read this guide</a>.<br />
<a target="_blank" rel="nofollow" href="https://graph.facebook.com/ID of Page/feed">Test it by opening the link in another browser window</a>. If you get a whole load of data in square and curly brackets (it&#8217;s JSON) that contains posts from your fan page then you&#8217;re set for Step 2.</p>
<p>*Please note that this URL gets every post from your Wall/Stream limited to about the 50 most recent from what I&#8217;ve seen. This includes everything that other people have posted as well in the form of their posts or comments, etc.</p>
<p>Step 2 &#8211; Extract the last status from the feed URL data</p>
<p>Here comes the basic PHP code, you need to put in the Page ID for the
<pre><code>$pageID</code></pre>
<p> variable:</p>
<pre><code>$pageID = "ID of Page"
$url = "https://graph.facebook.com/". $pageID ."/feed";
$json = file_get_contents($url);
$jsonData = json_decode($json);

foreach($jsonData->data as $val) {
	if($val->from->id == $pageID) { //find the first matching post/status by a fan page admin
		$message = $val->message;
		echo $message;
		break; //stop looping on most recent status posted by page admin
	}
}</code></pre>
<h3>Things to consider</h3>
<p>Extracting the data from Facebook directly using a server-side approach should not be used for production as it&#8217;s really inefficient as it adds a noticeable pause to page loading times and will break if Facebook is slow in responding. I provided a basic demo to show how easy it can be done, but you should expand on this by storing the data extracted in a database or file on your server via CRON jobs. Another alternative would be to do it client-side with JavaScript, it depends on the frequency the Fan page data you want is expected to change and what you&#8217;re doing with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajgraham.com/2010/07/get-facebook-page-stream-simple-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Facebook Problem</title>
		<link>http://www.ajgraham.com/2009/09/the-facebook-problem/</link>
		<comments>http://www.ajgraham.com/2009/09/the-facebook-problem/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 12:53:01 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[settings]]></category>

		<guid isPermaLink="false">http://ajgraham.com/?p=60</guid>
		<description><![CDATA[Facebook is a really useful service which I use a lot to keep up with friends that have moved away, I even have my dad added on it. There is a huge privacy conundrum in its current state due to the way applications are given free reign with data. If [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook is a really useful service which I use a lot to keep up with friends that have moved away, I even have my dad added on it. There is a huge privacy conundrum in its current state due to the way applications are given free reign with data. </p>
<p>If one of your Friends installs/uses an application, that application is given the same access rights to <em>all</em> of their Friends data (one of them being you!) as they have. This gives the application the opportunity to copy and store very personal information such as date of birth, address, telephone number(s), employment and/or education history (assuming you&#8217;ve added it and not limited the access to it). So for every silly, pointless quiz/game that one of your Friends installs/uses it opens all of the data on your profile up for it to misuse.</p>
<p>There is a very simple fix to this though. Delete your profile, all your friends or wait until next year sometime when Facebook implements more stringent controls on data access for applications&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajgraham.com/2009/09/the-facebook-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

