Search This Blog

Home » » Facebook Send Button on Website

Facebook Send Button on Website

Written By Harsha on Wednesday, 8 May 2013 | 00:02

Facebook Send Buton on Website



<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
<html xmlns:fb=”http://ogp.me/ns/fb#“>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title>
</head>
<body>

<div id=”fb-root”></div>
<script>
(function(d, s, id)
{
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/all.js#xfbml=1″;
fjs.parentNode.insertBefore(js, fjs);
}
(document, ‘script’, ‘facebook-jssdk’));
</script>

<!–Using XFBML–>

<fb:send href=”http://gvnsreeharsha.wordpress.com“></fb:send>

<!–Using HTML5–>

<!–<div data-href=”http://gvnsreeharsha.wordpress.com“></div>–>

<!–Url is sent to the friends for example in this i have sent http://gvnsreeharsha.wordpress.com url–>
</body>
</html>

0 comments:

Post a Comment

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS