Board logo

subject: FBML - How to Add a Share Button to Your Facebook Fan Page [print this page]


FBML - How to Add a Share Button to Your Facebook Fan Page

FBML provides the code to include a little share button, like the ones you see on the bottom right of the wall, on your customized fan or business page. When you are on any tab other than the wall, there isn't a share button, so it's useful to be able to add one so that visitors can share the page with their friends or even post your page to their own wall.

And this little bit of FBML is super easy to use. Unfortunately, the button can not be customized. It's going to look just like that. But, it can be added.

The code is:

< fb:share-button class="url" rel="nofollow" onclick="javascript:_gaq.push(['_trackPageview', '/outgoing/article_exit_link']);" href="url to your facebook page" />

The only thing that you need to change is the the url after http://

If you want to make the share box a little fancier you would use the fbml that includes the meta class rather than the url class. With the meta class you can specify the image that is displayed rather than using the default logo and include a description that contains more information about the content of your page.

meta name="title" content=""name of fan page" - the name

meta name="description" content="description of fan page" - the description you want to use.

link rel="image_src" rel="nofollow" onclick="javascript:_gaq.push(['_trackPageview', '/outgoing/article_exit_link']);" href="url to image location" - if you are using an alternative image, this would be the location on your server

link rel="target_url" rel="nofollow" onclick="javascript:_gaq.push(['_trackPageview', '/outgoing/article_exit_link']);" href="url to your facebook fan page" - the URL that you are sharing

The message box when using the meta class looks like th

Now Pay Close Attention --

Using your Facebook Fan Page to increase your business exposure and revenue is simpler than you've been told. Everyone with a facebook fan page faces the same two problems:

[Problem #1] How To Find Interested Facebook Users

[Problem #2] How To Bring Them To Become Your Fans

Facebook Fan Supply has been solving these two problems for hundreds of satisfied customers. The Facebook Fan Supply has been tried and tested and known to produce excellent results.

First: Click Here To Visit Facebook Fan Supply

Facebook Fan Supply always supplies REAL FANS targeted to your specific: Age Group, Keyword and Location.

Second: Order Your Facebook Fan Supply Package of 1,000; 2,000 or 5,000 Guaranteed Facebook Fans

Your new fans will arrive in 3 - 4 weeks and all fans are REAL FANS guaranteed to stick to your fanpage. Buy Facebook Fans today and boost your businesses online presence overnight.




welcome to loan (http://www.yloan.com/) Powered by Discuz! 5.5.0