Digital Points
Hi... My Dear Visitor nice to meet you here in this forum kindly register for being in touch with us..... Smile Smile

HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in

Latest topics
» SEO Stater to do list
7 FBML examples to rock your Facebook fan page EmptyFri Feb 15, 2013 3:17 pm by rachil

» Top 55 Social Bookmarking Websites
7 FBML examples to rock your Facebook fan page EmptyFri Feb 15, 2013 3:13 pm by rachil

» Hiiiiiiiiiiii
7 FBML examples to rock your Facebook fan page EmptyTue Feb 05, 2013 5:01 pm by boon_pal

» Analytics tool
7 FBML examples to rock your Facebook fan page EmptyTue Feb 05, 2013 4:49 pm by boon_pal

» Benefits of Search Engine Optimization
7 FBML examples to rock your Facebook fan page EmptySat Jan 19, 2013 12:09 am by fivestarawards

» Basic job of a SEO is to optimize a website
7 FBML examples to rock your Facebook fan page EmptyThu Jan 17, 2013 8:35 pm by boon_pal

» what is the SEO and SEM Difference
7 FBML examples to rock your Facebook fan page EmptyThu Jan 17, 2013 8:32 pm by boon_pal

» Google Dancing
7 FBML examples to rock your Facebook fan page EmptyThu Jan 17, 2013 8:17 pm by boon_pal

» how to increase websites page rank
7 FBML examples to rock your Facebook fan page EmptyWed Dec 26, 2012 10:30 pm by fivestarawards

September 2019
Social bookmarking
Social bookmarking digg  Social bookmarking delicious  Social bookmarking reddit  Social bookmarking stumbleupon  Social bookmarking slashdot  Social bookmarking yahoo  Social bookmarking google  Social bookmarking blogmarks  Social bookmarking live      

Bookmark and share the address of Digital Points on your social bookmarking website


 7 FBML examples to rock your Facebook fan page

Go down 


Posts : 47
Points : 144
Reputation : 6
Join date : 2011-09-21

7 FBML examples to rock your Facebook fan page Empty
PostSubject: 7 FBML examples to rock your Facebook fan page   7 FBML examples to rock your Facebook fan page EmptyMon Sep 26, 2011 6:16 pm

Facebook markup language or FBML for short is used in a variety of places within the social network. Anyone who has written any Facebook applications will already be pretty familiar with its tags, and will probably have used it to write data to walls, or share postings with others programmatically. If however you haven’t yet dipped your toe in the water of the Facebook API, or indeed haven’t actually needed to – there are some snippets of FBML which prove to be mighty useful when creating custom Facebook Fan Pages, and can easily and quickly out of the box be used with the FBML widget, which adds an extra much needed layer of customisation to an existing Facebook fan page. The static FBML widget can be added multiple times, and in multiple places (sidebar and tabs) to facilitate this. Once you’ve added it to your page, simply go to “edit page”, then under Applications click “edit” under Static FBML. This will give you the options you need to paste in your code.
Adding your newsletter

If your blog or website offers subscription via email, an additional place to find subscribers is within the Facebook network. Fans that stumble upon your page, or are invited by others may want to add themselves to your subscriber list directly from you page, without visiting your site. Using the code that your newsletter provider gave you, you can easily create a newsletter tab with a subscribe box. Whilst this isn’t strictly FBML (its just HTML) – its an easy way to increase your reach and exposure on the cheap. FBML needed. Something similar to below. This is what I’m using folks.

1. <form action=”” method=”post” target=”popupwindow” onsubmit=”‘’, ‘popupwindow’, ‘scrollbars=yes,width=550,height=520′);return true”>
2. <p>Enter your email address:</p>
3. <p><input type=”text” style=”width:140px” name=”email”/></p>
4. <input type=”hidden” value=”WebDesignInIrelandBlog” name=”uri”/>
5. <input type=”hidden” name=”loc” value=”en_US”/>
6. <input type=”submit” value=”Subscribe” /> </form>

Include Sharing With Friends

One of the main benefits of being on the Facebook platform is the ability for viral sharing to take place amongst participants in the network. To encourage your business page to be shared with others you can implement a Facebook “multi-select” box, all within the static FBML box. This will loop through the current users friend list, allowing them to select who they want to share the fan-page with when they click send. You might want to put this under a “Spread the word” type tab to increase your reach.

Update. Some people have reported problems with this code. From what I can remember, it worked previously – so unless FB have changed things. Anyway – I’m using the below successfully now. Don’t for god’s sake copy and paste, examine the code, and type it exactly. WordPress makes a mess of single quotes which won’t work inside Facebook. I will get around at some stage to ammending this, but for now take care and try and understand what you are using. If all else fails, consult the Facebook documentation, or leave a comment here, which I’m more likely to respond to. I’ll not be replying to personal emails asking for help.
<fb:request-form method=”POST” type=”Webdistortion” invite=”true” action=”” content=”Become a fan of Webdistortion!<fb:req-choice url=’’ ‘ label=’GO’ /> “>
<div style=”padding-bottom: 10px;”>
<fb:multi-friend-selector condensed=”true” style=”width:80%;” />
<fb:request-form-submit />

FBML needed

1. <fb:request-form method=”post”
2. type=”Your Fan Page Name Here.”
3. invite=”true”
4. content=”Check out Your Fan Page Name Here on Facebook!<fb:req-choice url=’YOUR FAN PAGE URL here’ ‘ label=’GO’ /> “>
5. <fb:multi-friend-selector actiontext=”Tell your friends about us rows=”3″ showborder=”true” /> </fb:request-form>

Include Multimedia

Multimedia objects such as flash, video and images can also be easily added to Fan Pages. If for example you wanted some flash video, or embedding of a flash game, the FB:swf, and FB:flv are perfect candidates. More details on the format of the API request available here for FLV and here for SWF. FBML needed (Flash object).

1. <fb:swf swfbgcolor=”ffffff” swfsrc=’’ width=’380′ height=’250′ />

(FLV video)

1. <fb:flv src=’’ />


1. <fb:photo pid=”12345″ />
2. <img src=”” />

Monitor your pages with Google Analytics

A great social media campaign should focus on measurement over reach. One of the easiest ways to take a look at the data provided via a Facebook page is via Google Analytics. Thankfully, inclusion on an existing static FBML page is particularly easy. Here’s the code you need. Obviously, just replace the uacct with your own account ID to start collecting data about your page. FBML needed

1. <fb:google-analytics uacct=”UA-9999999-99″ />

Randomise your messages

You can easily add random messages to your Facebook page. You may for example, want to experiment with multiple calls to action – or offer multiple promotions to your audience. The Facebook Random tag lets you achieve that, without any programming. Here’s how: FBML needed

1. <fb:random>
2. <fb:random-option weight=”2″>A: This will be shown 2 times as often as B.</fb:random-option>
3. <fb:random-option weight=”1″>B: This will be show half as often as A</fb:random-option>
4. </fb:random>

Add profile image

Your profile image is the thumbnail found at the top left of your page. To include it again anywhere on your Facebook Static FBML page, try using this example. A number of size parameters can be set with the tag, so if this size isn’t your thing, you can easily adjust it. Replace the UID parameter with your own userId.

1. <fb:profile-pic uid=”12345″ size=”normal” width=”400″ />

Add wall sharing capabilities

Sharing of individual bits of data or URL’s on Facebook is pretty integral to success. One easy way to do this on a Static FBML app is via the share-button. This allows you to share both data and links into a users wall / stream. FBML needed

1. <fb:share-button class=”url” href=”” >

Or to include more specific meta data. FBML needed

1. <fb:share_button>
2. <meta name=”medium” content=”news”/>
3. <meta name=”title” content=”Announcing the xxx Application”/>
4. <meta name=”description” content=”"/>
5. <link rel=”target_url” href=””/>
6. </fb:share_button>


Hopefully some of these FBML examples should help get your Facebook page off the ground, with some additional functionality for minimal effort. Combining some of the tags that Facebook provide out of the box, with a little creativity can really boost your social media marketing efforts without the need for calling on a programmer.
Back to top Go down
View user profile
7 FBML examples to rock your Facebook fan page
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Digital Points :: Marketing :: Social Networks :: Face Book-
Jump to: