Friday 3 February 2012

Html code for FB share button on Youtube video on blog/website

To put a Facebook Share button on your site or Youtube video, copy and paste the following code into the page you want to share,


<a name="fb_share"></a> 
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" 
        type="text/javascript">
</script>
 
Or in the case of a youtube video, add to "The embed code" see example below:

<a name="fb_share"></a> 
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" 
        type="text/javascript">
</script><iframe width="420" height="315"
 src="https://www.youtube-nocookie.com/embed/OxE4ItAtvcA?rel=0"
 frameborder="0" allowfullscreen></iframe>

Check out how it works here...............www.blogg4profit.com/articles/?p=790

The share button will grab a random image from your site and paste it as a thumnail along with the Title of the video on visitors facebook wall, but this is not a problem

Thanks for reading
Sven Grahn
Free Marketing Strategies

3 comments: