Archive

Archive for the ‘Facebook share’ Category

SMO with FB Share

February 19, 2011 Leave a comment

SMO using Share button from Social Sites is yet another tool to engage users in your site and increase the average time spent. All these ultimately affect the nature of response towards your organization.

FB Share can be used in either of these ways:

  • fb:share using .js code.

<div id="fbshare">
<fb:share-button>
<meta name="title" content="GlobalSMO"/>
<meta name="description" content="Share your Ideas"/>
<link rel="image_src" href="http://www.amosvision.com/images/amosvision-logo.gif
"/>
<link rel="target_url" href="
https://globalsmo.wordpress.com/"/>
</fb:share-button>
</div>

  • Using Iframe:
  • Hide unwanted share button surrounding border padding:

Add a css file to the first tag. This css file will get pulled from your server and will then be show the resulting effect in your pages.

Keep one thing inĀ  mind that Facebook keeps a lot of things in cache. So if you are checking/testing your codes, then you might not always see the effect according to your desire. So you need to change the urls everytime for the changes to take effect. This you can do using ?2,?3,…

Useful Guidelines:

  • <fb:share-button href="https://globalsmo.wordpress.com/" ></fb:share>
  • <div id=”fb-root”></div>

<script src=”http://connect.facebook.net/en_US/all.js#appId=xxxxxxxxxx&amp;xfbml=1“></script>
<fb:comments numposts=”10″ width=”585” css=”http://globalsmo.wordpress.com/css/myfb.css” publish_feed=”true”></fb:comments>

Interesting Posts:
Categories: Facebook share