ADD Following script between </head> and <body>
</head>
<!--Put here Script code-->
<body>
Script Code:-
<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_GB/sdk.js#xfbml=1&version=v2.4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
Now Call It on Page:
Enter Following code where u wants to add the page.
HTML Code:-
<div class="fb-page" data-href="https://www.facebook.com/pages/page name/159733574117804"
data-width="380" data-hide-cover="false" data-show-facepile="false"
data-show-posts="false"></div>
Note:- "https://www.facebook.com/pages/page name/159733574117804" is facebook page URL.
for more Information click here.
For more Interesting, Useful Article & codes visit IT New Code.
</head>
<!--Put here Script code-->
<body>
Script Code:-
<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_GB/sdk.js#xfbml=1&version=v2.4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
Now Call It on Page:
Enter Following code where u wants to add the page.
HTML Code:-
<div class="fb-page" data-href="https://www.facebook.com/pages/page name/159733574117804"
data-width="380" data-hide-cover="false" data-show-facepile="false"
data-show-posts="false"></div>
Note:- "https://www.facebook.com/pages/page name/159733574117804" is facebook page URL.
for more Information click here.
For more Interesting, Useful Article & codes visit IT New Code.
0 comments:
Post a Comment