<?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>Atlanta Jones &#187; Social Media</title>
	<atom:link href="http://atlantajones.com/category/social-media/feed/" rel="self" type="application/rss+xml" />
	<link>http://atlantajones.com</link>
	<description>If Geekiness Has A Name...It Must Be Atlanta Jones.</description>
	<lastBuildDate>Tue, 24 Jan 2012 01:30:57 +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>iFramed Facebook Tabs Are Here!</title>
		<link>http://atlantajones.com/social-media/iframed-facebook-tabs-are-here/</link>
		<comments>http://atlantajones.com/social-media/iframed-facebook-tabs-are-here/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 19:15:18 +0000</pubDate>
		<dc:creator>Atlanta Jones</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://atlantajones.com/?p=255</guid>
		<description><![CDATA[“You can’t do that on a tab.” In the last year-plus I’ve been developing Facebook apps and tabs, I’ve uttered this phrase more times than I care to recall. I remember when I first started developing for Facebook, there seemed to be such promise in the idea that I could build the bulk of these [...]]]></description>
			<content:encoded><![CDATA[<p><strong>“You can’t do that on a tab.”</strong></p>
<p>In the last year-plus I’ve been developing Facebook apps and tabs, I’ve uttered this phrase more times than I care to recall. I remember when I first started developing for Facebook, there seemed to be such promise in the idea that I could build the bulk of these apps <a href="http://www.php.net" target="blank">in any language</a>, on our own servers. There seemed to be a lot of freedom in that. </p>
<p>Then I started trying to build page tabs.</p>
<p><a href="http://www.atlantajones.com/wordpress-content/uploads/2011/02/iframe-tab-1.jpg"><img src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/iframe-tab-1-590x500.jpg" alt="A Facebook Tab" title="Facebook Tab" width="590" height="500" class="alignnone size-medium wp-image-253" /></a></p>
<p>The problem with developing for <a href="http://developers.facebook.com/docs/reference/fbml/" target="blank">FBML</a> tabs is that Facebook sucks in your html, CSS and JavaScript code and then “sanitizes” it to ensure it’s safe. This includes things like renaming CSS id’s and classes, and all your JavaScript functions. They also only support a subset of native JavaScript methods, so a lot of JS you’re used to using is considered invalid. Seriously, you can’t even do a document.write() or alert() on an FBML tab.</p>
<p>So in order to do anything meaningful with JavaScript, you’d have to write it with their <a href="http://developers.facebook.com/docs/fbjs#dom_objects" target="_blank">replacement functions</a>. So the native method of:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>‘wrapper’<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> ‘test’<span style="color: #339933;">;</span></pre></div></div>

<p>would have to become:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>‘wrapper’<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setValue</span><span style="color: #009900;">&#40;</span>‘test’<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Seems not a big deal at first glance, but it can be a royal pain in the butt to test the code outside of Facebook. And forget about including libraries like <a href="http://www.jquery.com" target="_blank">jQuery</a>.</p>
<p>Plus, there’s all the stuff that is considered “invalid” within an FBML tab. This includes things like certain CSS properties like <a href="http://en.wikipedia.org/wiki/Web_fonts#Web_fonts" target="_blank">@font-face</a> and image maps (beats me). </p>
<p>To make things weirder, there were certain Facebook-specific tags that wouldn’t even work on a tab. You couldn’t, for example, embed a “Like” button on a tab or use Facebook’s own <fb:iframe> tag to embed an iFrame. While I know some of these rules and restrictions were tied to legitimate concerns about security and user experience, many just seemed arbitrary and stupid. </p>
<p>Then sometime in 2010 (I need to research the specific timeframe), they announced that page tabs would eventually be migrated to being iFrame-based. I’m telling you, based on what I’d gone through as a FB dev and hacking together working solutions for tabs, this was the best news I’d ever heard. It got added to the Developer Roadmap, and was originally slated for completion in Q4 2010. Well, the calendar flipped to 2011, and the roadmap got adjusted to say Q1 2011. I know must of us feared it would just keep getting pushed back or never happen at all. I also had concerns that Facebook would still find some way to screw it up, like maybe invent some sort of “faux” iFrame with crippled functionality. </p>
<p><a href="http://www.atlantajones.com/wordpress-content/uploads/2011/02/developer-roadmap.jpg"><img src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/developer-roadmap-590x345.jpg" alt="Developer Roadmap" title="Developer Roadmap" width="590" height="345" class="alignnone size-medium wp-image-252" /></a></p>
<p>Well, yesterday, out of the blue, I saw a new post pop up in the <a href="http://developers.facebook.com/blog/" target="_blank">Developer Blog feed</a> (which you’re all subscribed to, right?). It was the announcement I’ve waited for months to hear. They’d finally implemented iFrames in page tabs. This came alongside the announcement about page layout changes, but I won’t get into that part of it here. </p>
<p><a href="http://www.atlantajones.com/wordpress-content/uploads/2011/02/iframe-tab-blog-1.jpg"><img src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/iframe-tab-blog-1-590x458.jpg" alt="iFramed Tab Announcement" title="iFramed Tab Announcement" width="590" height="458" class="alignnone size-medium wp-image-254" /></a></p>
<p>So once I’d finished my cartwheels around the office and <a href="http://twitter.com/#!/AtlantaJones/statuses/35800342625001472" target="_blank">Twittering</a> about this amazing news, I sat down to actually try some stuff out. I switched an existing sandbox tab to iFrame and it just started working. Through some R&#038;D, I was able to use any JavaScript I wanted, loaded jQuery, added a working Like button with callback functions and more. This is Facebook development nerdvana, folks. It’s as if I’d been writing with a hammer and chisel and suddenly been given a word processor. I can’t overstate how big a deal this is for the future of Facebook app development.</p>
<p>But what does this all mean? It means that, as of yesterday (2/10/2011), you can now switch your page tabs into “iFrame” mode. So now, instead of your code being sucked in and displayed within Facebook’s sterilized sandbox, it all loads up in an iFrame straight from your own server. </p>
<p>To put this in perspective, here’s just some of the stuff we can now do on a tab that was not possible before (or not possible without major workarounds):</p>
<ul>
<li>iFrames (duh)</li>
<li>Load external JavaScript files, including libraries like jQuery</li>
<li>Use web fonts, with @font-face for CSS</li>
<li>Embed Like buttons</li>
<li>Embed flash video or animation without the need for an interstitial “click to play” graphic</li>
<li>Launch JavaScript events on page load</li>
<li>Easily implement multi-page navigation within the same tab</li>
<li>Submit forms without having to do them via Ajax calls</li>
<li>Set cookies and sessions</li>
<li>Add Google Analytics tracking code (previously FB would strip it as invalid)</li>
<li>You also won&#8217;t have to constantly be busting Facebook&#8217;s rigorous caching of css and images</li>
</ul>
<p>See what I mean? There are other FBML tab limitations I’m sure I’ve forgotten about, but these alone have made building creative, functional tab experiences a real challenge. </p>
<p>This is why today feels like the dawning of a new age. Facebook has finally cleared the road. Now stop reading this and go make some kick-ass apps.</p>
<p><a name="update1"></a><strong>Update, 2.15.11: </strong>Today we started seeing iFrames in tabs not loading at all, and the new &#8216;signed_request&#8217; parameters they added were missing some attributes. Even the sandbox tab that was working perfectly on the day of launch was acting like a regular ole FBML tab today. After some brief panic and some trolling through the comments of the original announcement, someone mentioned they fixed the problem by upgrading the page to the new layout. I switched our sandbox page, and everything started working again. I&#8217;m not really sure if this was the intended behavior all along, requiring you to upgrade your page layout before being able to use tabbed iFrames. But definitely good to know.</p>
]]></content:encoded>
			<wfw:commentRss>http://atlantajones.com/social-media/iframed-facebook-tabs-are-here/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Make Your Site More Likable with Facebook</title>
		<link>http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/</link>
		<comments>http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 18:49:52 +0000</pubDate>
		<dc:creator>Atlanta Jones</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://atlantajones.com/?p=167</guid>
		<description><![CDATA[Way back in April 2010, I attended Facebook’s F8 developers conference in San Francisco. According to its page, its mission is to “bring together the developers and entrepreneurs who are building the social Web by moving fast, taking risks, and hacking traditional systems”. Not entirely sure what that’s supposed to mean, but it was a [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-206" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/f8-badge/"><img class="size-thumbnail wp-image-206 alignright" title="Facebook's f8 Developer Conference" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/f8-badge-150x200.jpg" alt="" width="150" height="200" /></a>Way back in April 2010, I attended <a href="http://www.facebook.com/f8" target="_blank">Facebook’s F8 developers conference</a> in San Francisco. According to its page, its mission is to “bring together the developers and entrepreneurs who are building the social Web by moving fast, taking risks, and hacking traditional systems”. Not entirely sure what that’s supposed to mean, but it was a free trip to San Fran, so what the hell.</p>
<p>The biggest part of the conference, and CEO Mark Zuckerberg’s presentation, was the introduction of the <a href="http://developers.facebook.com/docs/opengraph" target="_blank">“open graph”</a> and Facebook’s new suite of <a href="http://developers.facebook.com/docs/plugins" target="_blank">social plugins</a>. There are much better resources on the web to explain that stuff in-depth, so I’ll not rehash it all here.</p>
<p>The bulk of it revolves around adding social widgets, particularly the <a href="http://developers.facebook.com/docs/reference/plugins/like" target="_blank">“Like” button</a>, to your sites in an effort to extend the socialness of Facebook to the regular web. While this got a ton of hype and a lot of brands initially jumped on the “likifying” bandwagon early on, I never really had the opportunity to do a lot with it. Most of my time in the last year has been primarily building web apps within the Facebook platform. However, based on what I’d seen in the demos in San Francisco and how I saw people implementing it, I started to suspect most were probably doing it wrong. Or just didn’t understand its real usefulness.</p>
<p>It was only recently that I had an opportunity to do some R&amp;D around how to properly set up your website for Facebook Like integration. And even though I’ve been in Facebook-Land for quite a while now, what I discovered really surprised me. Despite my usual, generally low opinion of the Facebook platform, I had to admit this is pretty damn cool.</p>
<p>With that intro out of the way, here’s how you do it…<span id="more-167"></span></p>
<p>At the f8 conference, Facebook announced this concept of the “social graph”. They described it as the interconnection of all social objects on the web, which could include web pages, Facebook apps and profiles, photo albums, videos, etc. The gist of it was that now everything could be made social, not just what was within Facebook’s walled garden.</p>
<p>One of the prominent examples they showed was that of IMDB.com (Internet Movie Database). They showed how a button that said “Like” could be added to an individual movie’s page, in this case The Rock. Next to the button, you’d be able to see if any of your friends liked it, and how many people total. When you clicked the button, it would register your affinity for this awesome movie (and it is) and write a message to that effect in your Facebook stream. If the “object” you liked was also a certain type, like ‘movie’ or ‘book’, it would automatically be listed on your profile as one of your faves as well.</p>
<p><a rel="attachment wp-att-192" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/like-imdb/"><img title="IMDB's The Rock page" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/like-imdb.png" alt="" width="587" height="157" /></a></p>
<p>In addition to IMDB, they showed a few other examples, like the Levis site, which was using multiple Like buttons per product page.</p>
<p><a rel="attachment wp-att-189" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/levis-likes/"><img class="alignnone size-medium wp-image-189" title="Levis Like Button Implementation" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/levis-likes-590x375.jpg" alt="" width="590" height="375" /></a></p>
<p>To aid in this “likifying” of the web, Facebook also revealed several new <a href="http://developers.facebook.com/docs/plugins" target="_blank">Social Plugins</a> that made it dead simple to connect your pages to the graph. Not only could you easily drop code onto a page to generate a Like button, but you could show recent user activity, enable real-time chat and register users for your site.</p>
<p>All of this works by embedding simple iFrames and Open Graph tags to your web pages, essentially making them equivalent to Facebook pages.</p>
<p>That’s all well and good, but what does it give you, other than the satisfaction of seeing Like counts rise? Not a lot, especially if your site has tons of pages. Who has time to go through them all to track Likes? Not me. And can you act on that data in any meaningful way? Not if you just use the copy-and-paste social widgets, which is probably all most people really do.</p>
<p>But what if I told you that you could track all likes and shares across your entire website from one place, and target messages and ads to people that have Liked specific pages?</p>
<p>Okay, let’s start making Like buttons on your site actually mean something.</p>
<p>One of the first steps to making all this work, is to create a Facebook App that will serve as the main unique identifier for your site. All your pages will reference this app’s ID to tie them all together. And in addition, anyone you add as an administrator of that app will have the ability to view analytics (what Facebook calls “Insights”).</p>
<p>To do this, you have to be a “verified” Facebook developer. This really means nothing more than verifying to Facebook that you’re indeed a real person. You can do this by either confirming your <a href="http://www.facebook.com/confirmphone.php" target="_blank">mobile phone</a> or adding a <a href="https://secure.facebook.com/cards.php" target="_blank">credit card</a> to your account. Don’t worry, you don’t get charged anything. This step is annoying, but it ensures apps are linked to legit Facebook user accounts.</p>
<p>Once you’ve gotten verified, go to <a href="http://www.facebook.com/developers/apps.php" target="_blank">http://www.facebook.com/developers/apps.php</a> and click “Set Up New App”. Here, you really only have to fill out a single field, which is the name of your app. Normally you’d need to fill out a bunch of other setting for your app, but this app is just a hub for consolidating all your site’s social data. Just keep this page open, because you’ll need the app ID that was generated for later steps.</p>
<p>The only other setting you might want to consider updating is the “Manage Users” area in the app editor. Here, you can add other users as administrators of the app, or simply Insights users. Anyone who is set as an administrator of this app will be able to view Insights for the domain and manage “liked” pages.</p>
<p>Onto the next step…</p>
<p>So how do we use this new app to track Likes, Shares and other data across our website? We link it up to our domain with some html. To start, go to the <a href="http://www.facebook.com/insights/" target="_blank">main Insights page</a> and click the green “Insights for your Domain” button. In the dialog that pops up, enter your domain (i.e., mydomain.com), and in the “Link With” dropdown, select the Facebook app you just created.</p>
<p><a rel="attachment wp-att-188" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/domain-insights/"><img class="alignnone size-medium wp-image-188" title="Domain Insights Setup" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/domain-insights-590x368.jpg" alt="" width="590" height="368" /></a></p>
<p>When you select your app, you’ll see the sample meta tag change to list your app’s ID. Copy this tag, but don’t close the popup at this time. Now edit your homepage’s html code and insert this tag somewhere inside the <head> element. Save the page and upload it back to your server.</p>
<p>Now click “Check Domain” in the Insights popup. If everything worked, the dialog should go away. You may have to refresh the Insights page, but you should now see your site listed under ‘domains’. Now, once your site starts collecting social data, you can simply return here and click ‘View Insights’ for your domain. Currently, you can see data for Likes, Shares, Feedback per Share, Reshare rate, gender, age, countries, cities and languages. Just be aware that it can take a day or so for Insights to start showing up. Facebook seems to be delayed by about 24 hours (or more).</p>
<p>The next thing you’ll need to do is insert the necessary meta tags into your site’s pages that Facebook needs to handle Likes and Shares. Minimally, they should include:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;meta property=&quot;og:url&quot; content=“YOUR_DOMAIN”/&gt;
&lt;meta property=&quot;og:image&quot; content=&quot;THUMBNAIL_IMAGE_HERE_50X50&quot;/&gt;
&lt;meta property=&quot;og:description&quot; content=&quot;DESCRIPTION_HERE&quot;/&gt;
&lt;meta property=&quot;og:site_name&quot; content=“SITE_NAME”/&gt;
&lt;meta property=&quot;og:title&quot; content=“PAGE_TITLE”/&gt;
&lt;meta property=&quot;og:type&quot; content=&quot;website&quot; /&gt;</pre></td></tr></table></div>

<p>Pay particular attention to the “type” attribute. You really should only use “website” on the homepage. Most other pages will probably fall within one or more of the preset types, <a href="http://developers.facebook.com/docs/opengraph#types" target="_blank">found here</a>.</p>
<p>For example, if your site is for a fast food restaurant, you’d use either ‘restaurant’ or ‘food’. A bookstore would use a type of ‘book’ for product pages, a baseball team might use ‘sports_league’, and so on. If you don’t want to be as specific as that, there are a few more generic types, like ‘company’.</p>
<p>You should already have a meta tag on your homepage that looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;meta property=&quot;fb:app_id&quot; content=“XXX” /&gt;</pre></div></div>

<p>That tag should go on all your other pages. Even though anyone that’s an admin of your app can administer pages and view Insights, you can also add one-off admins on a per-page basis. Just add this tag, and include a comma-separated list of Facebook user ID’s:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;meta property=&quot;fb:admins&quot; content=“XXX,XXX,XXX” /&gt;</pre></div></div>

<p>Below is a screenshot showing how the Liked item will show up on a user’s wall, and where each OG tag is used.</p>
<p><a rel="attachment wp-att-191" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/like-detail/"><img class="alignnone size-medium wp-image-191" title="Like detail on wall" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/like-detail-590x155.png" alt="" width="590" height="155" /></a></p>
<p>Additionally, these tags are used whenever someone shares this page via Facebook:</p>
<p><a rel="attachment wp-att-195" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/share-detail/"><img class="alignnone size-full wp-image-195" title="Like Share Detail" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/share-detail.png" alt="" width="524" height="141" /></a></p>
<p>If you want to test that your Open Graph (OG) tags are done properly and displaying the right thing, use <a href="http://developers.facebook.com/tools/lint" target="_blank">Facebook’s Linter app</a>. See an example <a href="http://developers.facebook.com/tools/lint?url=http%3A%2F%2Fsandbox.ajones.mouse.engauge.com%2Fconnect%2Farticle" target="_blank">here</a>.</p>
<p>Lastly, you’ll want to make sure your <html> tag contains proper namespaces, for example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;html
xmlns=&quot;http://www.w3.org/1999/xhtml&quot;
xmlns:og=&quot;http://opengraphprotocol.org/schema/&quot;
xmlns:fb=&quot;http://www.facebook.com/2008/fbml&quot; lang=&quot;en&quot;&gt;</pre></div></div>

<p>Now that we’ve laid the framework, let’s actually start implementing those Facebook buttons.</p>
<p>Before you start using FBML tags on your pages, you’ll need to install Facebook’s Javascript SDK, with code similar to:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
window.<span style="color: #660066;">fbAsyncInit</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
FB.<span style="color: #660066;">init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>appId<span style="color: #339933;">:</span> ‘XXX’<span style="color: #339933;">,</span> <span style="color: #000066;">status</span><span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span> cookie<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span> xfbml<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #003366; font-weight: bold;">var</span> e <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> e.<span style="color: #660066;">async</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
e.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> document.<span style="color: #660066;">location</span>.<span style="color: #660066;">protocol</span> <span style="color: #339933;">+</span>
<span style="color: #3366CC;">'//connect.facebook.net/en_US/all.js'</span><span style="color: #339933;">;</span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'fb-root'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>The first bit initializes the SDK and binds it to your app’s ID. The second function includes the actual Javascript SDK library from Facebook. It does this asynchronously so as to not delay other items loading on the page.</p>
<p>To implement a like button, you minimally just insert: &lt;fb:like>&lt;/fb:like> This will load a standard like button with default options.</p>
<p><a rel="attachment wp-att-193" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/like-widget/"><img class="alignnone size-full wp-image-193" title="Facebook Like widget" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/like-widget.png" alt="" width="276" height="72" /></a></p>
<p>The Like button can be customized with additional attributes. For example, this will change the word “Like” to “Recommend”: &lt;fb:like action=&#8221;recommend&#8221;>&lt;/fb:like>. This will show just a like button, with a numeric counter: &lt;fb:like layout=&#8221;button_count&#8221;>&lt;/fb:like>. See more options under Attributes <a href="http://developers.facebook.com/docs/reference/plugins/like" target="_blank">here</a>. Similarly, basic share buttons can be inserted on pages via: &lt;fb:share-button type=&#8221;button&#8221;>&lt;/fb:share-button></p>
<p>Once these tags are added, the buttons should start displaying on your pages. All that’s left is to start doing something with that data.</p>
<p>When you go to a graph-enabled page, and you’re logged into Facebook AND you’re an admin of either the app or your Facebook ID is listed in the fb:admins meta tag, you’ll see an “Admin Page” link beside the Like button. You might not see it until you yourself have clicked the like button for that content.</p>
<p><a rel="attachment wp-att-190" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/like-admin/"><img class="alignnone size-full wp-image-190" title="Like administration" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/like-admin.png" alt="" width="403" height="71" /></a></p>
<p>Clicking this takes you to a Facebook page manager, much like you’d see when editing a fan/brand page. This has been created by Facebook specifically for seeing Insights on this specific page, plus messaging to users that have Liked it.</p>
<p><a rel="attachment wp-att-194" href="http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/attachment/page-editor/"><img class="alignnone size-medium wp-image-194" title="Liked Page Editor" src="http://www.atlantajones.com/wordpress-content/uploads/2011/02/page-editor-590x264.png" alt="" width="590" height="264" /></a></p>
<p>For example, let’s say you added a Like button to a page selling The Social Network on Blu-Ray. When an admin clicks that link beside it, they will see a page similar to the above. You’ll see Like counts and basic Insights activity (which may be delayed by 24 hours or more).</p>
<p>The coolest thing about this is that you can now message to anyone that’s liked this specific object. So if you write a status update about The Social Network, everyone that’s ever Liked that page on your site will see it show up on their wall, with a link back to the site. You can also geotarget status posts just like you normally would. For example, people that have Liked The Social Network that are in San Francisco. There’s also a page manager created for the root homepage as well.</p>
<p>So that’s it! There’s certainly more work involved in doing this the “right” way, but you get a lot more benefit than from simply scattering social widgets all over the place.<br />
There are a few caveats and gotchas to be aware of:</p>
<ul>
<li> One note about page admin links, they will NOT show up if you classify a page as og:type=”article”. Facebook considers this a transient content type and won’t let you message against it.</li>
<li> Facebook also caches OG meta data. So if you change it and do another Like or Share, it won’t appear to have changed. The cache can be cleared 3 ways:</li>
<li>Every 24 hours automatically by Facebook
<ul>
<li>Loading the URL into the Linter tool</li>
<li>An admin Liking the page</li>
<li>Note, however that changes cannot be made forever. According to <a href="http://developers.facebook.com/docs/opengraph#edit" target="_blank">this page</a>, og:type and og:title can only be edited initially. After 50 Likes, the title cannot be changed, and after 10,000 Likes, the type becomes fixed.</li>
</ul>
</li>
</ul>
<p>I hope this has provided some insight (no pun intended) into how to tie your site into Facebook and how you can leverage that information to stay in front of your customers.<br />
That said, Facebook is notorious for breaking and/or changing things on a whim, so if a recent change has made anything in this article inaccurate, please let me know. And while I’ve been doing Facebook development for over a year now, I’m far from being the foremost expert. If I’ve made any mistakes, or you just have questions, please post in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://atlantajones.com/social-media/make-your-site-more-likable-with-facebook/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Saints: 31, Super Bowl Advertisers: 0</title>
		<link>http://atlantajones.com/social-media/saints-31-super-bowl-advertisers-0/</link>
		<comments>http://atlantajones.com/social-media/saints-31-super-bowl-advertisers-0/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 04:36:10 +0000</pubDate>
		<dc:creator>Atlanta Jones</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://atlantajones.com/?p=75</guid>
		<description><![CDATA[I didn&#8217;t notice this until about halfway through the Super Bowl when Gary Vaynerchuk pointed it out. It seemed despite the millions of dollars big brands spent on Super Bowl ads this year, not one (at least that I saw) specifically directed people to their Facebook pages. Maybe it&#8217;s because my &#8220;day job&#8221; is now [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-74" title="Dennys Super Bowl Ad" src="http://www.atlantajones.com/wordpress-content/uploads/2010/02/dennys-super-bowl.jpg" alt="" width="200" height="182" />I didn&#8217;t notice this until about halfway through the Super Bowl when <a href="http://bit.ly/aLRHNK" target="_blank">Gary Vaynerchuk</a> <a href="http://bit.ly/aXcTi9" target="_blank">pointed it out</a>. It seemed despite the millions of dollars big brands spent on Super Bowl ads this year, <em>not one</em> (at least that I saw) specifically directed people to their Facebook pages. Maybe it&#8217;s because my &#8220;day job&#8221; is now mostly consumed by social media, but this strikes me as incredibly obtuse. And possibly downright irresponsible on the part of their agencies.</p>
<p>At some point someone should&#8217;ve mentioned to <a href="http://bit.ly/alHMq8" target="_blank">Dennys</a>, &#8220;Hey, you know you could probably spike your fan count by a couple MILLION in one night. Sound good?&#8221; That they didn&#8217;t either means a) nobody brought it up, or b) it was shot down by someone with no appreciation of the impact of such things. Or maybe they just don&#8217;t care about Facebook. I think a big factor in this is that &#8220;traditional&#8221; agencies still haven&#8217;t the first clue how to advise their clients on social media. This even includes a lot of digital agencies that only want to sell a client a website.</p>
<p>Throughout the game, I was reminded of when I first got into this gig. Around 1998 I built a website for a prominent local real estate agency in my town of Marietta, Ohio. At the time, I wasn&#8217;t doing anything very advanced, and the realty listings were powered by a third-party Perl script. I think I got a couple grand from the whole shebang, but it was 10 times better than what I was replacing.</p>
<p>Once the site launched, I made a lot of recommendations to them about how to promote the site. I pitched the usual stuff, but what I really hammered on was that they were insane if they didn&#8217;t put their web address on every single &#8220;for sale&#8221; sign on every property they had listed. They&#8217;d nod and acknowledge it was a good idea, but they never ever did it. I left Ohio in 2006, but my gut says they probably still haven&#8217;t taken my advice.</p>
<p>And here we are in 2010, <em>the future</em>, for pete&#8217;s sake, and clients are still compartmentalizing their media. This is our website and this is our broadcast ad, and ne&#8217;er the twain shall meet. Stunning.</p>
<p>It should be pointed out (as was pointed out to me), a couple spots included Facebook and/or Twitter logos. That&#8217;s great, but they were small and in the last tenth of a second of the commercial. Notice all Sears ads now have social media logos? WTF? Do you expect people to touch their television screen and go to your Facebook page?</p>
<p>What Denny&#8217;s (and others) should have done was had a clear social media call to action. Yes, we&#8217;re doing free breakfasts, but you have to become a fan on Facebook to get it. Or, tack on something extra, like become a fan and get a free cappuccino to go <em>with</em> that free breakfast. As of this writing, the Denny&#8217;s Facebook fan page only has 25,000 fans. In my experience with Facebook-based promotions (where I and my firm helped take a brand from 900 fans to 100,000+), I&#8217;m sure they could&#8217;ve multiplied that by a factor of ten or more tonight, easy.</p>
<p>Not sure when these agencies (or brands) will get with the program. As much as Facebook makes me roll my eyes sometimes, I cannot deny it&#8217;s become a force to be reckoned with. And it won&#8217;t be long before no brand can afford to leave it out of their strategy.</p>
<p>That said, as long as there are agencies bungling through this, firms like <a href="http://bit.ly/c9jgmD" target="_blank">the one I work for</a> will continue to show them up.</p>
]]></content:encoded>
			<wfw:commentRss>http://atlantajones.com/social-media/saints-31-super-bowl-advertisers-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

