<?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>facebook | Woody Hayday | Blog</title>
	<atom:link href="https://blog.woodylabs.com/tag/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.woodylabs.com</link>
	<description>An exploration of life, technology and writing</description>
	<lastBuildDate>Tue, 13 Jan 2015 15:20:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.woodylabs.com/wp-content/uploads/2015/01/cropped-woody-hayday-yosemite-glacier-point-32x32.jpg</url>
	<title>facebook | Woody Hayday | Blog</title>
	<link>https://blog.woodylabs.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Did you know: Facebook short url&#8217;s already kinda exist</title>
		<link>https://blog.woodylabs.com/2011/11/did-you-know-facebook-short-urls-already-exist/</link>
					<comments>https://blog.woodylabs.com/2011/11/did-you-know-facebook-short-urls-already-exist/#comments</comments>
		
		<dc:creator><![CDATA[Woody]]></dc:creator>
		<pubDate>Thu, 10 Nov 2011 09:46:03 +0000</pubDate>
				<category><![CDATA[Facebook Pages]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[dataspace savings]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[facebook shorturl]]></category>
		<category><![CDATA[random occurance]]></category>
		<category><![CDATA[shorturl]]></category>
		<guid isPermaLink="false">http://blog.woodylabs.com/?p=800</guid>

					<description><![CDATA[<p>As a side note: facebook shorturls, or at least abreviated urls exist. We all know about fb.me, but fb.com works too&#8230;. Random occurance: Was saving down facebook data into a database from the graph api, wanted to save the urls in a mixed url table but didn&#8217;t want to bother saving the whole http://www.facebook.com every [&#8230;]</p>
<p>The post <a href="https://blog.woodylabs.com/2011/11/did-you-know-facebook-short-urls-already-exist/">Did you know: Facebook short url’s already kinda exist</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p><hr /><a href="https://blog.woodylabs.com">Visit Woody Haydays Blog</a><hr />]]></description>
										<content:encoded><![CDATA[<p>As a side note: facebook shorturls, or at least abreviated urls exist. We all know about fb.me, but fb.com works too&#8230;. Random occurance:</p>
<p>Was saving down facebook data into a database from the graph api, wanted to save the urls in a mixed url table but didn&#8217;t want to bother saving the whole http://www.facebook.com every time, what a waste of data. Initially I lazily abbreviated this too: fb.com/whateverthepagewas, left the acquisition stuff to its job and then went off to do something else. Coming back to the management system I accidentally clicked one of these fb.com/ links, and it worked! Facebook have set it up as a redirect. Maybe this was common knowledge but I hadn&#8217;t heard of it before&#8230;Anyhow a useful biproduct of dataspace savings!</p>
<h1 align="center">So check it out: <a href="http://fb.com/hayday">fb.com/hayday</a></h1>
<p>That will redirect you too http://www.facebook.com/hayday (my page.) &#8211; just like fb.me, but traditional-like, lol. Neat eh? Anyone else know any facebook quick wins?</p><p>The post <a href="https://blog.woodylabs.com/2011/11/did-you-know-facebook-short-urls-already-exist/">Did you know: Facebook short url’s already kinda exist</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.woodylabs.com/2011/11/did-you-know-facebook-short-urls-already-exist/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Facebook time in php &#8211; Facebook uses GMT not PDT/PST?</title>
		<link>https://blog.woodylabs.com/2011/10/facebook-time-in-php-facebook-uses-gmt-not-pdtpst/</link>
					<comments>https://blog.woodylabs.com/2011/10/facebook-time-in-php-facebook-uses-gmt-not-pdtpst/#comments</comments>
		
		<dc:creator><![CDATA[Woody]]></dc:creator>
		<pubDate>Thu, 20 Oct 2011 12:09:11 +0000</pubDate>
				<category><![CDATA[Facebook Pages]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[facebook apps]]></category>
		<category><![CDATA[facebook pages]]></category>
		<category><![CDATA[facebook time]]></category>
		<category><![CDATA[timezones]]></category>
		<guid isPermaLink="false">http://blog.woodylabs.com/?p=793</guid>

					<description><![CDATA[<p>I don&#8217;t know whether its purely related to my location when I am calling facebooks&#8217; graph API or what, but all the talk about what timestamps facebooks API returns seems to be wrong. Perhaps they&#8217;ve changed something, perhaps they are re-adjusting them just for me. If its the latter I wonder why they are giving me GMT [&#8230;]</p>
<p>The post <a href="https://blog.woodylabs.com/2011/10/facebook-time-in-php-facebook-uses-gmt-not-pdtpst/">Facebook time in php – Facebook uses GMT not PDT/PST?</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p><hr /><a href="https://blog.woodylabs.com">Visit Woody Haydays Blog</a><hr />]]></description>
										<content:encoded><![CDATA[<p>I don&#8217;t know whether its purely related to my location when I am calling facebooks&#8217; graph API or what, but all the talk about what timestamps facebooks API returns seems to be wrong. Perhaps they&#8217;ve changed something, perhaps they are re-adjusting them just for me. If its the latter I wonder why they are giving me GMT when I am in Belgium? Is it based on the USER?</p>
<div align="center"><img fetchpriority="high" decoding="async" src="http://farm4.static.flickr.com/3308/3324587240_c663bd1c9b_z.jpg?zz=1" width="640" height="425" alt="Antique Clock Face"><br /><a href="http://www.flickr.com/photos/arcticpuppy/3324587240/" title="Antique Clock Face by tibchris, on Flickr" rel="nofollow" target="_blank">Clock Face by tibchris</a><br /><strong>Facebook Time in PHP, who the what where?</strong></div>
<p>If you haven&#8217;t tried pulling anything time-sensitive out of the graph API yet, don&#8217;t, that&#8217;s my advice. There is not a single bit of coherent explanation as to how the API hand&#8217;s out times, when I first researched it I had written on my pad &#8220;Pacific time&#8221;&#8230;great, did my past (possibly beer holding) self not remember that Pacific time is one thing half the year and another the other half? PDT/PST? Obviously not. What&#8217;s more, now when I check (post something on a page, grab it with graph API) &#8211; its giving me GMT+00 times, WHEN I&#8217;M IN GMT+01.</p>
<p>&nbsp;</p>
<p>All I can work out is facebook have either been pleasant enough to convert the time to the users original registration locale (likely, and pleasant) and not noted it down ANYWHERE publicly, or they have chosen to use GMT. Probably the former, either way &#8211; facebook developers &#8211; we need a better solution for working with facebook times.</p><p>The post <a href="https://blog.woodylabs.com/2011/10/facebook-time-in-php-facebook-uses-gmt-not-pdtpst/">Facebook time in php – Facebook uses GMT not PDT/PST?</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.woodylabs.com/2011/10/facebook-time-in-php-facebook-uses-gmt-not-pdtpst/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Hosting facebook Apps/Applications/iFrame Pages on 1and1 (SSL)</title>
		<link>https://blog.woodylabs.com/2011/08/hosting-facebook-appsapplicationsiframe-pages-on-1and1-ssl/</link>
					<comments>https://blog.woodylabs.com/2011/08/hosting-facebook-appsapplicationsiframe-pages-on-1and1-ssl/#comments</comments>
		
		<dc:creator><![CDATA[Woody]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 08:28:37 +0000</pubDate>
				<category><![CDATA[Facebook Graph API]]></category>
		<category><![CDATA[Facebook Pages]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[1and1]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[facebook apps]]></category>
		<category><![CDATA[fan gating]]></category>
		<category><![CDATA[fan page]]></category>
		<category><![CDATA[ssl]]></category>
		<guid isPermaLink="false">http://blog.woodylabs.com/?p=778</guid>

					<description><![CDATA[<p>For those who run facebook fan pages you will likely know about fan gating and the importance of adding your own content to your facebook fanpage. This used to be done with the facebook static fbml app but that&#8217;s really the old way, looking forward the best way is to make its own specific app. [&#8230;]</p>
<p>The post <a href="https://blog.woodylabs.com/2011/08/hosting-facebook-appsapplicationsiframe-pages-on-1and1-ssl/">Hosting facebook Apps/Applications/iFrame Pages on 1and1 (SSL)</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p><hr /><a href="https://blog.woodylabs.com">Visit Woody Haydays Blog</a><hr />]]></description>
										<content:encoded><![CDATA[<p>For those who run facebook fan pages you will likely know about fan gating and the importance of adding your own content to your facebook fanpage. This used to be done with the facebook static fbml app but that&#8217;s really the old way, looking forward the best way is to make its own specific app. There&#8217;s <a href="http://www.hyperarts.com/blog/adding-iframe-application-to-facebook-fan-page/" rel="nofollow" target="_blank">a bunch</a> of <a href="http://www.hyperarts.com/blog/facebook-secure-browsing-https-iframe-tabs-mixed-content-warnings/" rel="nofollow" target="_blank">really good stuff</a> out there about setting up your apps but none of it seems to deal with the middle level guys who don&#8217;t want to shell out time/capital setting up amazon hosting (probably a good idea either way) or don&#8217;t strictly have https for the domain, those that just need an interim/growth testing solution with their current hosts, specifically in this case 1and1.</p>
<p>You <em>can</em> host facebook apps on any host, but hosting somewhere unsecure (not accessible via https) will flag up the following prompt for anyone browsing to the page with secure browsing turned on (high proportion of fb users.) You CAN also use amazon cloud storage (S3) for free https file storage, up to a level, however you <em>cannot run server side code</em> (php/ASP.NET) without setting up a server with their EC service.</p>
<div align="center"><img decoding="async" class="aligncenter size-full wp-image-779" title="facebook-fan-page-app-creation-on-1and1-ssl" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-app-creation-on-1and1-ssl.png" alt="" width="458" height="217" srcset="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-app-creation-on-1and1-ssl.png 458w, https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-app-creation-on-1and1-ssl-450x213.png 450w" sizes="(max-width: 458px) 100vw, 458px" /><br /><em>Not pretty eh</em>? What will that do to your conversion rates? Yep nothing good.</div>
<p><span id="more-778"></span></p>
<p>Its not just the mavericks either, for example brands like banana republic are still running http stuff, prompting the user with this message on loading their like-capture pages.</p>
<h3>Set up 1and1 shared hosting to host Secure SSL facebook apps/applications/tab pages</h3>
<p>So anyway here&#8217;s the cheap, quick way to hosting your facebook apps SECURELY using 1and1 shared hosting.</p>
<ol>
<li>Log onto admin.1and1.co.uk (or .com)</li>
<li>(Optional) Register a domain name which you don&#8217;t mind generically hosting your fb content. For me this is www.whfb.co.uk &#8211; this will only show up if users looked at the information for the frame, probably wont ever matter, but if you are running a whole host of different niche pages it might be worth it for simplicity/segmentation.</li>
<li>Go to domain management section and click &#8220;Shared SSL Encryption&#8221; under SSL option<br /><img decoding="async" class="aligncenter size-full wp-image-780" title="shared-ssl-for-facebook-apps-applications-1and1" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/shared-ssl-for-facebook-apps-applications-1and1.png" alt="" width="364" height="83" /></li>
<li>Assign the Shared SSL Encryption to your generic domain/main domain you want to use<br /><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-781" title="assign-ssl-to-domain-for-creating-facebook-apps-secure" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/assign-ssl-to-domain-for-creating-facebook-apps-secure.png" alt="" width="224" height="76" /></li>
<li>Setup a folder under your domain like you would with any facebook page, use the facebook php api to fangate or just put some html up there, bare in mind all objects referenced in what you put up should direct resources to &#8220;https&#8221; not http. That is if you reference &#8220;http://www.example.com/someimage.png&#8221;, switch the http for https (save your own copy of the file if you need to. Referencing images locally in the folder should work fine for http/https if you use the same domain.</li>
<li>Setup your facebook app (theres thousands of guides on this&#8230;) and set the following (under &#8220;Select how your app integrates with Facebook -&gt; Page Tab&#8221;)<br /><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-782" title="select-how-your-tab-app-integrates-with-facebook-http-https" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/select-how-your-tab-app-integrates-with-facebook-http-https.png" alt="" width="423" height="146" /></li>
<li>Add the app to your facebook fan page and visit it, (setting it as default landing page perhaps ;)) &#8211; you should not get any security messages, if you have you need to go back and check your html is pointing to any external elements via https.</li>
</ol>
<p>Chances are if you are running 1and1 shared hosting (or any other major) then you will have SSLRelays free of charge with your package, what&#8217;s more this takes about 1 minute to setup, so test with this before you stick stuff in the cloud!</p><p>The post <a href="https://blog.woodylabs.com/2011/08/hosting-facebook-appsapplicationsiframe-pages-on-1and1-ssl/">Hosting facebook Apps/Applications/iFrame Pages on 1and1 (SSL)</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.woodylabs.com/2011/08/hosting-facebook-appsapplicationsiframe-pages-on-1and1-ssl/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Facebook Fan Page Branding Template &#8211; Illustrator</title>
		<link>https://blog.woodylabs.com/2011/08/facebook-fan-page-branding-template-illustrator/</link>
					<comments>https://blog.woodylabs.com/2011/08/facebook-fan-page-branding-template-illustrator/#comments</comments>
		
		<dc:creator><![CDATA[Woody]]></dc:creator>
		<pubDate>Tue, 30 Aug 2011 15:02:28 +0000</pubDate>
				<category><![CDATA[Facebook Pages]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[branding]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fan page]]></category>
		<category><![CDATA[illustrator]]></category>
		<guid isPermaLink="false">http://blog.woodylabs.com/?p=761</guid>

					<description><![CDATA[<p>Facebook Fan Page Branding Template &#8211; Creating a facebook fanpage branding with Adobe Illustrator As I have been dabbling with facebook fan pages I thought I would share a few of the take-away&#8217;s, in this case purely to do with the branding of your facebook page, increasingly an important outward factor in all web developments [&#8230;]</p>
<p>The post <a href="https://blog.woodylabs.com/2011/08/facebook-fan-page-branding-template-illustrator/">Facebook Fan Page Branding Template – Illustrator</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p><hr /><a href="https://blog.woodylabs.com">Visit Woody Haydays Blog</a><hr />]]></description>
										<content:encoded><![CDATA[<h4>Facebook Fan Page Branding Template &#8211; Creating a facebook fanpage branding with Adobe Illustrator</h4>
<p>As I have been dabbling with facebook fan pages I thought I would share a few of the take-away&#8217;s, in this case purely to do with the branding of your facebook page, increasingly an important outward factor in all web developments &#8211; facebook fan pages are perhaps the building blocks of a good social sprawl. I will post later about the technicalities of using fan-gated iframe apps (hosting them on 1and1/Amazon S3 for no extra cost) and similar but for now lets focus on the looks.</p>
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td width="30">
<div style="font-size:100px">!</div>
</td>
<td>At the <a href="https://blog.woodylabs.com/2011/08/facebook-fan-page-branding-template-illustrator/#base">bottom</a> of this post you can get a copy of the Facebook Fan Page branding template I have made in Adobe Illustrator, it has all the artboards setup so all you have to do is add your graphics and export!</td>
</tr>
</table>
<p>Take a look at these few examples:</p>

<a href='https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-audi.png'><img loading="lazy" decoding="async" width="250" height="250" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-audi-250x250.png" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-banana-republic.png'><img loading="lazy" decoding="async" width="250" height="250" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-banana-republic-250x250.png" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-captain-morgans.png'><img loading="lazy" decoding="async" width="250" height="250" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-captain-morgans-250x250.png" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-nike-football.png'><img loading="lazy" decoding="async" width="250" height="250" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-fan-page-branding-example-nike-football-250x250.png" class="attachment-thumbnail size-thumbnail" alt="" /></a>

<p><span id="more-761"></span><br />
You have probably noticed straight away what I am getting at. Coherence. Branding coherence is an eternal battle for marketing departments, making your brand appear coherent to the corporate strategies laid down to be long term principles. In the realm of smaller web projects though its not such a huge deal. The first thing I do when setting up a new facebook page is get the overall branding planned and implemented. In short I make/contract 6 Images. These 6 images will either work well together, leaving a mark in the mind of an already bombarded potential fan or they&#8217;ll excite no one and be forgotten along with the other mediocre half-attempts. Get these 6 images right.</p>
<p>So here&#8217;s how it is. You are allowed a facebook profile pic for your page, this image can be just a logo (check out HP) or it can be utilised as any ad space might be, stick up an exclusives offer deal, some shocking message etc. This image can be up to 200 px x 600 px and you can upload a higher resolution, baring in mind the width will always be proportionate.</p>
<p>Your other 5 images come in the form of Tagged/Wall posted/Album images. These are shown across the top of your wall (where ultimately you wan&#8217;t your fans to be hanging out) and are sorted in a RANDOM order by facebook. That&#8217;s right, however you upload them they will occasionally appear in a completely different order unlike the ones on your personal profile page. These stick to normal photo proportion ratio&#8217;s and can be uploaded via the &#8220;upload photos&#8221; option on the pages&#8217; wall. Remember they don&#8217;t have to be photo&#8217;s, use these 5 images to extend (coherently) the brand of the page you are trying to promote.</p>
<p>Take a look around, check out some pages of your favourite brands, I have no doubt they will be using the images in clever ways, ways that can improve like rates, conversation and overall brand image.</p>
<div align="center"><a name="base" /><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-767" title="facebook-fan-page-adobe-illustrator-template-for-branding" src="http://www.woodylabs.com/i/facebook-fan-page-adobe-illustrator-template-for-branding.png" alt="" width="600" height="308" /></div>
<h2>The file</h2>
<p>So before you go darting off to create a new facebook page about something or other, download this file:</p>
<div align="center" style="border: 1px solid #09C; background-color: #b5d1ea; padding: 4px; margin: 10px; text-align: center;width:250px;margin-left:auto;margin-right:auto;">
<a title="Download facebook fan page branding template for Adobe Illustrator cs2 onwards" href="https://blog.woodylabs.com/downloads/facebook-page-image-template-branding-example.rar" target="_blank">Facebook Fan Page Branding Template</a><br />
<br />
<a href="https://blog.woodylabs.com/downloads/facebook-page-image-template-branding-example.rar" target="_blank"><img decoding="async" src="http://www.woodylabs.com/i/ai-icon.png" title="download fan page branding template" border="0" /></a><br />
<br />
(Adobe Illustrator CS4, 600kb Rar&#8217;d)
</div>
<p>Its an Adobe Illustrator file with a dummy facebook page laid out with artboards setup for each of the 6 images I talk about above, it should let you create all your images in a single space so you can really get a feel as to how well they gel together. Once you have constructed your images, switch to artboard view and click each image in turn, remember when exporting the main profile pic image that it needs to be 200 pixels wide, this way you won&#8217;t suffer any of facebooks image downscaling nasties.</p><p>The post <a href="https://blog.woodylabs.com/2011/08/facebook-fan-page-branding-template-illustrator/">Facebook Fan Page Branding Template – Illustrator</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.woodylabs.com/2011/08/facebook-fan-page-branding-template-illustrator/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Facebook Like button not working or showing 0 likes</title>
		<link>https://blog.woodylabs.com/2011/08/facebook-like-button-not-working-or-showing-0-likes/</link>
					<comments>https://blog.woodylabs.com/2011/08/facebook-like-button-not-working-or-showing-0-likes/#comments</comments>
		
		<dc:creator><![CDATA[Woody]]></dc:creator>
		<pubDate>Wed, 17 Aug 2011 08:58:27 +0000</pubDate>
				<category><![CDATA[Facebook Pages]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fan page]]></category>
		<guid isPermaLink="false">http://blog.woodylabs.com/?p=740</guid>

					<description><![CDATA[<p>Got a facebook like button not working showing zero? Do you wan&#8217;t to add a facebook like button to your page that points to a facebook page (fanpage) rather than the page the likebutton is actually on? It is possible but you may have come across this facebook bug that I did. Scenario&#8217;s are either: [&#8230;]</p>
<p>The post <a href="https://blog.woodylabs.com/2011/08/facebook-like-button-not-working-or-showing-0-likes/">Facebook Like button not working or showing 0 likes</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p><hr /><a href="https://blog.woodylabs.com">Visit Woody Haydays Blog</a><hr />]]></description>
										<content:encoded><![CDATA[<p>Got a facebook like button not working showing zero? Do you wan&#8217;t to add a facebook like button to your page that points to a facebook page (fanpage) rather than the page the likebutton is actually on? It is possible but you may have come across this facebook bug that I did.</p>
<div align="center"><img loading="lazy" decoding="async" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-like-button-0-count-problem-zero-count.png" alt="" title="facebook-like-button-0-count-problem-zero-count" width="203" height="87" class="aligncenter size-full wp-image-743" /></div>
<p>Scenario&#8217;s are either:</p>
<ul>
<li>Use <a href="http://developers.facebook.com/docs/reference/plugins/like/" target="_blank" rel="nofollow">facebook like button generator</a> to generate code for a like button (sometimes even this bugs out..)</li>
<li>Use some service like ShareThis to generate code for a facebook like button</li>
</ul>
<div>And when you stick it on the webpage:</div>
<div>
<ul>
<li>It shows as Zero &#8211; Facebook likes &#8216;0&#8217; even if you know that URL (that you installed it on, or fb page) has likes</li>
<li>It occasionally shows correct like count, but most of the time shows Zero [0] like&#8217;s</li>
</ul>
<div>Investigate with:</div>
<div>
<ul>
<li><a href="http://developers.facebook.com/tools/debug/og/object?q=https://blog.woodylabs.com" target="_blank" rel="nofollow">Facebook Lint tool</a> (object debugger)</li>
</ul>
<div>After spending a few hours working out what was causing this 0 like problem on my facebook like button I narrowed it down to two problems people are experiencing:</div>
<p><span id="more-740"></span></p>
<div>
<ol>
<li>Error in the code you are copying across. It should be an iframe (unless you are using XFBML) like the code shown on the facebook lint tool (object debugger.) In fact the best way I found was to use the object debugger to make the iframe code and then adapt that using parameters from the facebook like button generator as the likebutton generator bugged out for me. MAKE SURE its pointing to the right url, use https if you can and point it to the page which validates in Lint tool.</li>
<li>Page Problems. If your page doesn&#8217;t validate properly in the Lint tool (object debugger) then this is your issue, this is the likely situation if you are seeing it OCCASIONALLY show the right figure in your likes box, but mostly 0 [zero] likes. Page problems as far as I have experienced boil down to:</li>
<ol>
<li>Facebook soft deleting your page and not telling you. If you are experiencing this ZERO likes situation it might well be that facebook has actually discontinued your page without telling you, leaving it on your admin menu&#8217;s and leaving the likes/wall/everything in tact. This is confusing as hell and I wish they would formally tell/make it obvious. Reasons why your page gets deleted? I am sure there are a bunch. I repeat. Your page may look to you to be live, with likes and all &#8211; but if you are experiencing zero likes on your like button it might also be deleted. Get your friend to search for it in the search box, if it doesn&#8217;t appear, you&#8217;ve had it deleted!</li>
<li>Restricted Content. We all love fangating, well its a working economy, but I have a sneaking suspicion it may occasionally cause a discrepancy in like button, potentially pointing a like button to an inaccessible page to the potential like&#8217;ee would mean facebook wouldn&#8217;t be able to access it and therefore show zero (whereas it might be showing you the proper number as you have access..)</li>
</ol>
</ol>
<div align="center"><img loading="lazy" decoding="async" src="https://blog.woodylabs.com/wp-content/uploads/2011/08/facebook-like-button-and-google-plus-one-buttons.png" alt="" title="facebook-like-button-and-google-plus-one-buttons" width="108" height="64" class="aligncenter size-full wp-image-745" /></div>
<div>Anyway, for a nice combo of a facebook like button and a google + button (are these going to be more and more important?) check the following code, don&#8217;t forget to replace your url <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></div>
</div>
<div style="margin-top:20px;margin-bottom:10px">
<pre class="brush: xml; title: ; notranslate">
&lt;div align=&quot;left&quot; style=&quot;height:70px&quot;&gt;
    &lt;div id=&quot;fbbox&quot; style=&quot;float:left;height:65px;width:55px;&quot;&gt;
    	&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=***YOURURL***&amp;layout=box_count&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;height: 65px; width: 55px&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
    &lt;/div&gt;
    &lt;div id=&quot;gbox&quot; style=&quot;float:left;height:65px;width:55px;&quot;&gt;&lt;g:plusone size=&quot;tall&quot; href=&quot;***YOURURL***&quot;&gt;&lt;/g:plusone&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
</div>
</div>
</div><p>The post <a href="https://blog.woodylabs.com/2011/08/facebook-like-button-not-working-or-showing-0-likes/">Facebook Like button not working or showing 0 likes</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.woodylabs.com/2011/08/facebook-like-button-not-working-or-showing-0-likes/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Facebook Graph Api &#8211; Is user a fan of page id &#8211; Using FQL and opengraph to mimic Pages.IsFan</title>
		<link>https://blog.woodylabs.com/2010/09/facebook-graph-api-is-user-a-fan-of-page-id-using-fql-and-opengraph-to-mimic-pages-isfan/</link>
					<comments>https://blog.woodylabs.com/2010/09/facebook-graph-api-is-user-a-fan-of-page-id-using-fql-and-opengraph-to-mimic-pages-isfan/#comments</comments>
		
		<dc:creator><![CDATA[Woody]]></dc:creator>
		<pubDate>Sat, 18 Sep 2010 14:14:02 +0000</pubDate>
				<category><![CDATA[Facebook Graph API]]></category>
		<category><![CDATA[Facebook Pages]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fan gating]]></category>
		<category><![CDATA[fan page]]></category>
		<category><![CDATA[FQL]]></category>
		<guid isPermaLink="false">http://blog.woodylabs.com/?p=403</guid>

					<description><![CDATA[<p>Working with integration of Facebook Connect for authentication is mostly easy at the moment, once you have got your head around FBML etc. However as they are in between switching from the old Restful API and the new graph API there remains the odd little thing that has only a splatter of useful documentation online. [&#8230;]</p>
<p>The post <a href="https://blog.woodylabs.com/2010/09/facebook-graph-api-is-user-a-fan-of-page-id-using-fql-and-opengraph-to-mimic-pages-isfan/">Facebook Graph Api – Is user a fan of page id – Using FQL and opengraph to mimic Pages.IsFan</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p><hr /><a href="https://blog.woodylabs.com">Visit Woody Haydays Blog</a><hr />]]></description>
										<content:encoded><![CDATA[<p>Working with integration of Facebook Connect for authentication is mostly easy at the moment, once you have got your head around FBML etc. However as they are in between switching from the old Restful API and the new graph API there remains the odd little thing that has only a splatter of useful documentation online. The first one of these I have come across is trying to find out if a user (who is logged in to  your site via facebook connect) is a fan of page X.</p>
<p>There is infinite uses for this &#8211; with facebook more and more integrating &#8220;likes&#8221; with their search and other stuff you will need this functionality to drive traffic from facebook. Anyway this used to be the easy case of using https://api.facebook.com/method/pages.isFan?access_token=&#8230; to get a 1 or 0 depending on whether or not the user had &#8220;fanned&#8221; the page/website/whatever.</p>
<p>But then came along the big bad Graph API, which to get this IsFan functionality is a bitch. Getting the &#8220;likes&#8221; directly works for the page owner (which confuses everything) but not for third parties, showing just the popular/main category &#8220;likes&#8221; against them (and you need extended permissions.)<br />
<span id="more-403"></span><br />
Long and short of it there&#8217;s about 5 ways to skin this cat, all of which suck except this one, in my brief, frustrated look into it. In any case this uses FQL and the Graph API call to produce a Boolean indicating whether or not the user has fanned something with id $pageID. It works, in all scenario&#8217;s for me so far.</p>
<blockquote><p>$likeID = $facebook-&gt;api(<br />
array( &#8216;method&#8217; =&gt; &#8216;fql.query&#8217;, &#8216;query&#8217; =&gt;<br />
&#8216;SELECT target_id FROM connection WHERE source_id = $userID AND target_id = $pageID&#8217; )<br />
);</p>
<div>if ( empty($likeID) ) {</div>
<div style="margin-left:20px;">// user has NOT Liked the page/whatever</div>
<div>} else {</div>
<div style="margin-left:20px;">// user HAS Liked the page/whatever</div>
<div>}</div>
</blockquote>
<p>If only facebook would update their documentation to show how easy it is to fql query from the API!</p><p>The post <a href="https://blog.woodylabs.com/2010/09/facebook-graph-api-is-user-a-fan-of-page-id-using-fql-and-opengraph-to-mimic-pages-isfan/">Facebook Graph Api – Is user a fan of page id – Using FQL and opengraph to mimic Pages.IsFan</a> first appeared on <a href="https://blog.woodylabs.com">Woody Hayday | Blog</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.woodylabs.com/2010/09/facebook-graph-api-is-user-a-fan-of-page-id-using-fql-and-opengraph-to-mimic-pages-isfan/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
			</item>
	</channel>
</rss>
