Proper installation of FB 'like' button!!!!!

I went thru the developers forums in facebook and installed like buttton following this tutorial

http://forum.developers.facebook.net/viewtopic.php?pid=223994#p223994

 

i changed the necessary codes in my '_header.html' file inside my template folder. The code is now like this

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"xml:lang="en-US" lang="en-US">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=__page_charset__" />

<title>__page_header__</title>

<base href="<bx_url_root />" />

__page_description__

__page_keywords__

<meta http-equiv="Content-Style-Type" content="text/css" />

<bx_include_css />

<bx_include_js />

__dol_images__

__dol_lang__

__dol_options__

<script type="text/javascript" language="javascript">

var site_url = '<bx_url_root />';

var aUserInfoTimers = new Array();

$(document).ready( function() {

$( 'div.RSSAggrCont' ).dolRSSFeed();

} );

</script>

<!--[if lt IE 7.]>

<script defer type="text/javascript" src="inc/js/pngfix.js"></script>

<![endif]-->

__extra_js__

<bx_injection:injection_head />

 

<script type="text/javascript">

var oBxUserStatus = new BxUserStatus();

oBxUserStatus.userStatusInit('<bx_url_root />', __is_profile_page__);

</script>

<b:if cond='data:blog.pageType == &quot;item&quot;'>

<meta expr:content='data:blog.pageName' property='og:title'/>

<meta expr:content='data:blog.url' property='og:url'/>

<b:else/>

<meta expr:content='data:blog.title' property='og:title'/>

<meta expr:content='data:blog.homepageUrl' property='og:url'/>

</b:if>

<meta content='Fourthmolar.com' property='og:site_name'/>

<meta content='338171204500' property='fb:app_id'/>

</head>

__flush_header__

<body <bx_injection:injection_body /> >

<bx_injection:injection_header />

<div id="notification_window" class="notifi_window"></div>

<div id="FloatDesc" style="position:absolute;display:none;z-index:100;"></div>

<div id="fb-root"></div>

<script>

window.fbAsyncInit = function() {

FB.init({

appId  : '338171204500',

status : true, // check login status

cookie : true, // enable cookies to allow the server to access the session

xfbml  : true  // parse XFBML

});

};


(function() {

var e = document.createElement('script');

e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';

e.async = true;

document.getElementById('fb-root').appendChild(e);

}());

</script>

</body>

After saving this file i created a new block from page builder section n enter following code there
<script type="text/javascript">// <![CDATA[
document.write ('<iframe src="http://www.facebook.com/plugins/like.php?href='+window.location+'&layout=standard&show_faces=true&width=160&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:70px"><\/iframe>');
// ]]></script>

 

Its working fine now except one thing, when a facebook user likes this button on my sites page (ex photo) thn it gets published on his wall (he sees it only when he chick his profile link) but nt on his frnds wall as we generally see in case of some websites which provide 'like' buttons.. any help??

https://www.facebook.com/4thmolar
Quote · 17 Nov 2010

Why don you do it the easy way? easy as using html block and adding it to the places you want it.

Addthis in dolphin

Addthis in dolphin

Applying the html block fix i was able to set this in a matter of minutes (just adding the code to the several html blocks in specific pages.

Im using http://www.addthis.com/ and you can kinda customize the button.

Hope this helps.

Quote · 17 Nov 2010

But when a facebook user likes ur "like" button, is it shown in his friends's live stream in facebook???

actually thats the issue here...

https://www.facebook.com/4thmolar
Quote · 18 Nov 2010

Yes it does. I just check w a friend and it did appear at her stream in fb.

Quote · 18 Nov 2010

k.. thn can u please gimme link to ur site plz?

https://www.facebook.com/4thmolar
Quote · 19 Nov 2010

adding to many blocks in your site for something look little will make your site look ugly

in my opinion I have to see to many blocks in my site I like everything clean and easy to see

 

I can do this to all your page for only $5.00 if you want take a look a my screenshot

I thing will look more nice in each page like videos music, audios, blogs, photos, events, ads, site, forum

 

PM is you want this for $5.00

 

2ron9zn.png

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 19 Nov 2010

PM me ur site's url.. lemmi chech if it works as i want it to!!

https://www.facebook.com/4thmolar
Quote · 12 Dec 2010

 

PM me ur site's url.. lemmi chech if it works as i want it to!!

are you talking to me

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 12 Dec 2010

@UFO... yeah buddy!!

https://www.facebook.com/4thmolar
Quote · 13 Dec 2010

@UFO

Does your offer include the whole block underneath the Vid (Stars/FB/Twit/Share/and those other two dunnowhatmaybeseenandcommentedkindawidgets)?

Quote · 13 Dec 2010

Hey mr UFO.. u didnt PM me ur site's url so that i can check how efficiently LIKE button works on ur site??

https://www.facebook.com/4thmolar
Quote · 21 Dec 2010

Just added like button from www.addit.com and it works fine. A heck of a lot easier than the facebook tutorial.

Quote · 24 Jan 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.