Facebook Marketing Primer – Custom Facebook Tabs

This is the first in a series of articles focused on marketing on Facebook. As a programmer, this will give you the basic knowledge to program a custom Facebook tab on a page for yourself or a client.

So you’ve been hired by a client to create a Facebook page for their business. You have the page all set up on Facebook. You have all the information about their company filled out and you’ve even uploaded a nice profile photo of the company logo. Now what? The client is all ready to start posting articles and comments to their Wall, but what they would really like is to feature some of their products on the page. You’ve seen other Facebook pages from companies with tabs that display their product lines, advertise promotions or embed content from their website. So how do you create custom tab for your page? Here’s how:

Step 1 – Create the content page

Content that is displayed in a custom tab on Facebook has to be hosted somewhere else. There are Facebook applications that offer the ability to embed HTML or text, but to have full control over the page you want to create your own and host it. If you already have a website for the business then you can host the page on the same server.

Create your page with all of the content you would like to show on your tab and upload it to your server. Facebook tabs are limited to a width of 520 pixels, so make sure any content you include falls within that width. You can include anything on that page and it can be written in any language.

Step 2 – Add the Facebook code to the page

In order for Facebook to load your page inside a tab there is a bit of code that you need to include in the page. The first thing you’ll want to do is edit your <HTML> tag and add the Facebook namespace attribute. The line should look something like this:

<html xmlns:fb="http://www.facebook.com/2008/fbml">

In the head of your HTML you will also need to include the Facebook Connect URL:

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>

Inside the <body> tag add:

style="overflow:hidden;"

Wrap all of your content inside a div with an id of fb-root.

<div id="fb-root">
ALL OF YOUR CONTENT GOES HERE
</div>

Add the following javascript to the page:

<script>
window.fbAsyncInit = function() { FB.Canvas.setAutoResize(); };
  (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
  }()
);
</script>

The javascript uses the Facebook setAutoResize function to resize the Canvas page in the tab. This forces it to auto-detect the length of the page and resize it so you don’t end up with a second scroll bar inside the tab.

With that complete, upload the page to your server.

Step 3 – The Facebook Application

All tabs on Facebook uses applications to load their content. As mentioned earlier, you’ll need to be a registered Facebook Developer or be working with someone who is. Registering is easy and the approval process is fairly straightforward.

Once you’re registered as a Developer, go to http://developers.facebook.com/ to begin putting together the app for your tab. Click on My Apps in the top menu and then click on the Set Up New App button in the top-right.

Enter a name for your app. I’ve called mine “My Custom Tab” but the name only acts as a label so you can find your application later. You’ll also need to agree to Facebook’s terms before you continue. On the next screen you’ll be prompted with the usual captcha form to ensure this isn’t some spambot auto-creating an application.

Once your app is named you’ll be directed to a page with a number of tabs and settings. It can be somewhat overwhelming at first but for the purpose of creating a custom tab we’re only going to use a few options.

On the first screen you can give your application a description if you wish (but not required) as well as a custom icon. The icon image will be used in the tab. The user support address field can be an email address or a website url. This is entirely up to you.  You will also need to enter a contact address. Usually this information is already filled in for you. I recommend linking to a privacy policy and terms pages as well if you’re going to be collecting user information.

With that information filled in, click the Facebook Integration tab on the left.  Set Canvas URL to the base URL where your file is being pulled from.  As an example, if you you uploaded the file to http://mysite.com/facebook/index.html then your Canvas URL will be http://mysite.com/facebook/.  This acts as the base path to your application. Set the Tab URL to the URL of the page you uploaded to your server, for example: index.html. When the Facebook tab calls the URL up it will use the base path set in the Canvas URL and append the Tab URL to the end of it. Set Tab Name to the name you want the tab called on your Facebook page.  Set iFrame Size to Auto-resize. We added the Canvas.autoResize javascript to the page so this will tell the application to resize itself based on the length of the page.

Once you have that information entered, click the Save Changes button at the bottom.

Step 4 – Add the application to you Facebook page

Once you save your application settings, you’ll be directed to the application overview screen. On this page you can view basic stats about visitors to your application. To add the application as a tab on your Facebook page, click the Application Profile Page link on the right. This will direct you to the application’s main page. It looks similar to a user profile page. On the left is a link to Add to My Page. Selecting that will open a small window that displays any of the Facebook pages you are an admin on. Select the page you want to add the tab to by clicking the Add to Page button to the right of it.

All Done!

Now, check out your new custom tab. Go to your Facebook page and you’ll see the new tab on the left. If you uploaded an icon it will show up to the left of the tab name.

Congratulations! You now have your own custom tab. You can edit the page on your server as much as you want and any new information you add will show up in the tab on Facebook.

When Wedding Bells Ring

Last year, after what I consider a reasonable waiting period of 10 years, I took the plunge and married my girlfriend. Since I made her wait so long I decided to make the proposal special.  We had planned a trip to Ireland for a week so while we were there, at the top of Blarney Castle kissing the Blarney Stone, I popped the question.

The wedding turned out great.  We had the reception at the local Portuguese club and the ceremony took place on stage at the new Capitol Theatre.  We were lucky enough to be the first people to use the new theatre after it’s restoration.  It actually came so close that they were still finishing things the day of the wedding, but I have to commend everyone that worked at the theatre for making our day turn out so well!

Being a designer I couldn’t see anyone else handling the design of our wedding invitation other than myself, so I took on the task along with my girlfriend at planning, designing, printing, cutting, and gluing the 80-something invitations.  Now while 80 invitations doesn’t sound like a lot, doing the cutting and gluing ourselves was a lot more work than I expected.  I have a new-found respect for all invitation designers out there and I can positively say that I won’t be entering that market.

The design process of the invitations was fairly smooth.  We knew what we wanted to say and the colours we wanted to use.   I started with the idea for a logo or monogram.  Working with businesses for so long has engrained in my head the importance of brand identity so starting with a logo and building around that seemed the only way to go.  After a series of sketches I came up with the concept I liked and moved on to Illustrator to start fleshing it out.  It didn’t take too long before I had something we were both very happy with.

Once the monogram had been completed we moved onto laying out the invitations.  This took a little longer but overall he process wasn’t too bad.  We tried to keep consistency with the colours and style of the monogram throughout the entire invitation.  We went with a pocket folded invitation with inserts for details, directions and menu.  We used the studio’s HP OfficeJet K8600 to print the invitations out on nice stock paper.  We used a few different stock sheet colours then cut them on my paper cutter and glued everything by hand.  We had some great help from Kim at the Paper Pickle. She offered some great advice and I highly recommend them for any paper needs.  The final product of all our hard work is below, including our ceremony programs and glassware which we handed out for guest gifts.

We decided on the glasses for our guest gifts because it conveyed a bit about us.  Alli and I both enjoy trying different beer styles and visiting breweries when we travel so we thought it made sense to give a beer glass.  The size chosen fits a bottle perfectly.  To make them somewhat unique I decided to create a logo which looked like a brewery identity and included our name and wedding date on it.  I designed it as an old style logo that would be common to an old British brewery.  I made an insert that fit into the glass and has Thank You cut our into the top along with a small toast.  I had picked up a Silhouette SD a month early.  It looks like a small printer but instead of printing it uses small blades to cut paper and vinyl.  This was my first test with it and I’m incredibly happy with the purchase.

Our guests all loved the glasses.  A few even asked if they could have a couple more.  We ended up with extras ourselves and we use them regularly around the house.  It’s a happy reminder of our special day.

The sound of crickets…

It’s been so long since I’ve updated this blog that I feel I need to blow the dust off this thing and overhaul it a bit.  A bit of a fresh look and some new posts coming down the pipeline should give this place a bit of a jump-start.  I feel like a bit of a hypocrite as I look at the last post dated over a year ago now.  I spend much of my time telling clients how important it is to keep content fresh and blog regularly to establish a strong online brand presence and improve search engine performance but I’ve strayed away from my own advice.

So with a slap on the wrist and a few posts pre-written, we’re off to the races again!  So much has happened over the last year that I could bore you all for hours, but I won’t.  Here’s a brief summary of what’s gone on and what to expect:

Here we grow

With the studio workload getting to the point of overwhelming, we brought in a new face to help out.  Brian Gallagher is our resident contract programmer and sometimes designer who we keep busy through the days with a flurry of client updates, WordPress installations, and template programming, among other things.  He’s been a great addition.  I’ve been personal friends with Brian for years so being able to work together has been a lot of fun.

We have some other occasional contractors that we bring on as projects call for it.  Having a list of regulars gives us the ability to expand to meet any project need.  It’s one of the biggest reasons Logix has been able to work with so many great clients.

Burning a trail with WordPress

Our use of WordPress for projects has become so common that we are very rarely creating static sites any more.  It’s ability to act as a content management system and it’s ease of customization has made it an invaluable tool in our arsenal.  We’ve been getting into heavy development with WordPress Multi-sites as well, creating portals and large networks for clients. The last year has seen us work on custom plugin programming, multi-site networks, massive amounts of customization and a large number of conversions of static sites to the WordPress platform.  WordPress has quickly become one of our core specialties.

iOS Development

Logix is now an Apple certified iOS developer which means we can program applications for the iPhone, iPod and iPad products.  We’re very excited to start working on projects and are on the lookout for clients interested in having an application developed.  We’ll also be program some side-projects to test our capabilities.

Facebook Applications

We are also working quite a bit with developing Facebook applications for clients.  Working with the Facebook API has been a lot of fun and we hope to keep working closely with it on more projects.  The potential for applications on Facebook is huge and it’s a market that’s becoming more popular.  It provides businesses with a great platform to reach thousands very easily.

There is so much more going on in the studio and we’ll be following up with more news and announcements shortly, so check back soon!

Go Green… Go Greener

Honestly, a photo doesn't do these cards justice. You have to hold one in your hand to really appreciate it's beauty.

At Logix we love challenges.  We also love unique ideas.  When Go Green Installations approached Logix to do up some new business cards, they wanted something creative and different that conveyed an environmental theme.  First thoughts immediately went to printing on a rough, recycled paper product.  With that in mind we went on the hunt for recycled paper products that we could print the cards on.  We wanted something no one in the area had seen before, and we found that with Botanical Paperworks.

Botanical Paperworks is a Manitoba-based company that offers a unique printing product that infuses wildflower seeds into the 100% recycled paper.  Wait, wildflower seeds you say??  Yes!  The final product is not only a fantastic looking business card but also completely environment friendly.  Simply place one of the cards in a garden or pot and spread a thin layer of soil on top, water well, place in the sun and in a few weeks it will bloom into a small arrangement of wildflowers.

The paper scored a 10 out-of 10 on our curiosity and amazement scale so we just had to try it out.

Botanical Paperworks did the printing for us after we received final approval of the layout from the client and a week later the cards arrived at the door.  The final product was amazing and the client was thrilled.  Not only did we keep Go Green’s environmentally-friendly vision intact but we blew their socks off with a unique product that they couldn’t wait to start handing out.

Focus On E-commerce and Search Engine Optimization

Bride & Joy Online StoreJuly so far has been about promotion, promotion, promotion.  The first project of the month to launch was the new online store for Bride & Joy (brideandjoy.chathamkent.com).  This new site uses Magento Commerce as an e-commerce platform.  It offers some really amazing reporting and tracking features and a very easy to use admin area for the store owner.  The front-end of the site is now simplified more to make browsing products easier and with the one-page checkout it makes purchasing products very easy for users.

Another change to the Bride & Joy online store involves search engine optimization.  Magento has excellent integration for Google Site Map and clean URL rewriting so the product pages will be picked up easily by search engines.  Logix also worked on a few other SEO methods to help boost search engine ranking.  While it’s still too early to tell how well the optimizations have worked, Google Analytics has showed traffic coming in from search engines has more than doubled and is making up over 40% of new traffic.

The Bride & Joy online store is the first in an e-commerce service being offered to local Chatham-Kent businesses.  Local businesses will be able to set up online stores to sell their products for a low monthly fee.  We won’t take a percentage cut off the sales like some other e-commerce providers online and we provide customized support and training for each store owner.  Each store built by Logix will be featured on ChathamKent.com as well, which is building up to be a local art, culture and entertainment portal.

DKN CanadaLogix also launched a new website for DKN Canada this week. (dkncanada.com)
DKN is working on making a large push in the Canadian market and needed a website that presented it’s quality line of whole body vibration platforms.  Search engine optimization was put in place as the site was being developed to help it gain top exposure in it’s market.  Again, it is still early to tell how much of an improvement we will see with the new site and SEO, but we’re confident over the next little while traffic will jump significantly.

I honestly didn’t know what a vibration platform and vibration technology was until I started working with the great people at DKN.  Their products seem really great though and after familiarizing myself with the technology while working on the site and seeing some of their competitors I’m proud to have worked with them.  The product line they offer seems superior to anything else I’ve seen and it seems like a good way to stay in shape.  If you happen to be in Chatham and curious like I was, check the products out at Great Life Wrap n Vibes.

One last mention in regards to search engine optimization again… In January we designed the new website for Parks Blueberries and optimized it.  We have been tracking it since then and traffic has quadrupled!  July has already seen over 1,600 unique visitors and we’ve only hit the halfway mark.  Yes the season is now in full swing compared to January but we compared traffic rates from the previous year and the improvement is fantastic!  Moments like these make me very happy.  Being able to see your hard work pay off is a good feeling.  It’s a feeling I want to offer every single one of our clients as well.

Interested in hiring us? Get in touch. The coffee is on us!

Are you looking for a website for your business, or interested in redesigning an existing one? Are you a new business looking for branding and marketing help? Let us know. We would be happy to sit down over a coffee and discuss your project. Click the button above or give us a call. We look forward to hearing from you!