<?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>Chad Von Lind &#187; Website Designer, WordPress Programmer &amp; Theme Developer &#8211; Chad Von Lind</title>
	<atom:link href="http://vonlind.com/tag/albums/feed/" rel="self" type="application/rss+xml" />
	<link>http://vonlind.com</link>
	<description>Web Design Specialist, WordPress, CMS and eCommerce</description>
	<lastBuildDate>Mon, 17 Oct 2011 18:27:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Embed Facebook Fan Page Photo Albums In WordPress</title>
		<link>http://vonlind.com/2010/01/embed-facebook-fan-page-photo-albums-in-wordpress/</link>
		<comments>http://vonlind.com/2010/01/embed-facebook-fan-page-photo-albums-in-wordpress/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 04:26:45 +0000</pubDate>
		<dc:creator>Chad Von Lind</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[albums]]></category>
		<category><![CDATA[fotobook]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://vonlind.com/?p=423</guid>
		<description><![CDATA[It is a great idea to have a Facebook fan page for your company, club or organization. This is a minor hack of the Fotobook plugin (Version 3.1.8) for WordPress by Aaron Harp. Fotobook is originally meant to apply your personal photo albums into WordPress, but we&#8217;re going to make one small code tweak to [...]]]></description>
			<content:encoded><![CDATA[<p>It is a great idea to have a Facebook fan page for your company, club or organization.</p>
<p>This is a minor hack of the <a href="http://wordpress.org/extend/plugins/fotobook/download/">Fotobook plugin (Version 3.1.8)</a> for WordPress by <a href="http://www.aaronharp.com/dev/wp-fotobook/">Aaron Harp</a>. Fotobook is originally meant to apply your personal photo albums into WordPress, but we&#8217;re going to make one small code tweak to instead pull the albums from the fan page that we administer.</p>
<p>After installing the plugin, go ahead and activate it and grant the permissions to your Facebook account.</p>
<p>Next, visit your Facebook fan page, and click into an album so you&#8217;re viewing all photos in one particular album. In the address bar you&#8217;ll see a <em>&#038;id=123123123</em>. Copy that ID number.</p>
<p>In the plugin directory open the fotobook.php file and head down to line 243 and look for this code.</p>
<p><code>$uid = $session['uid'];</code></p>
<p>Swap that code for this</p>
<p><code>//$uid = $session['uid'];<br />
$uid = 123123123;</code></p>
<p>With the 123123123 being the ID code for your fan page.</p>
<p>If you have a custom URL set for your fan page you might notice that the album photos are not showing. To correct that move down around line 809 in fotobook.php and look for:</p>
<p><code>if(!is_numeric($id)) return false;</code></p>
<p>And code it out of use by adding // in front so that it now looks like</p>
<p><code>//if(!is_numeric($id)) return false;</code></p>
<p>Back in the plugin administration page, go ahead and import your albums. And you should be good to go!</p>
<p><small>With a thanks to B. Thibault in the forums at the <a href="http://www.facebook.com/topic.php?uid=2254862517&#038;topic=10155">Fotobook Application Page</a>.</small><img src="http://vonlind.com/?ak_action=api_record_view&#038;id=423&#038;type=feed" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://vonlind.com/2010/01/embed-facebook-fan-page-photo-albums-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
	</channel>
</rss>

