<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt;color:#000000;"><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Hi List, </div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3">I am facing an issue with the implementation of </font><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Facebook</font><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"> like button on my website. </font><span class="Apple-style-span"
style="font-family: 'times new roman', 'new york', times, serif; ">Here is quick summary of Issue:</span></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">The like button is inserted for different pages which are shown after making a filter search on website. The problem is that, the like button increase the count for whole website instead of that particular page where the "like" button is pressed. It </font><span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: 16px; ">is always counting the likes for the server “abc.com” instead of calculating for different pages where the like button is pressed. </span></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span"
face="'times new roman', 'new york', times, serif">Here is the code snippet used for implementation:</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><p class="MsoNormalCxSpFirst"><span style="font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<p class="MsoNormalCxSpMiddle"><b style="mso-bidi-font-weight:normal"><u><span style="font-family:"Times New Roman","serif"">Code: <o:p></o:p></span></u></b></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif""><div
class="facebook_button"><o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif""><span style="mso-spacerun:yes"> </span>{php}<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif""><span style="mso-spacerun:yes"> </span>function fetch_url() {<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif""><span style="mso-spacerun:yes"> </span><span>$curURL="<a target="_blank" href="http://".$_SERVER[" http_host'].$_server['request_uri'="">http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI</a>'];</span><o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif"">return
$curURL;<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif"">}<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"><span style="font-family:"Times New Roman","serif"">{/php}<o:p></o:p></span></p>
<p class="MsoNormalCxSpMiddle"><o:p> </o:p></p>
<p class="MsoNormalCxSpMiddle"><span style="font-size:10.0pt;line-height:115%;
font-family:"Courier New";color:teal"><</span><span style="font-size:10.0pt;
line-height:115%;font-family:"Courier New";color:#3F7F7F">iframe</span><span style="font-size:10.0pt;line-height:115%;font-family:"Courier New""> <span style="color:#7F007F">src</span><span style="color:black">=</span><i><span style="color:#2A00FF"><span>"<a target="_blank" href="http://www.facebook.com/plugins/like.php?href={php">http://www.facebook.com/plugins/like.php?href={php</a>}
echo urlencode(fetch_url()); {/php}&layout=button_count&show_faces=true&width=110&action=like&colorscheme=light&height=20&locale=de_DE"</span></span></i>
<span style="color:#7F007F">scrolling</span><span style="color:black">=</span><i><span style="color:#2A00FF">"no"</span></i> <span style="color:#7F007F">frameborder</span><span style="color:black">=</span><i><span style="color:#2A00FF">"0"</span></i>
<span style="color:#7F007F">style</span><span style="color:black">="</span><span style="color:#7F007F">border</span><span style="color:black">:</span><i><span style="color:#2A00E1">none</span></i><span style="color:black">; </span><span style="color:#7F007F">overflow</span><span style="color:black">:</span><i><span style="color:#2A00E1">hidden</span></i><span style="color:black">; </span><span style="color:#7F007F">width</span><span style="color:black">:</span><i><span style="color:#2A00E1">110px</span></i><span style="color:black">; </span><span style="color:#7F007F">height</span><span style="color:black">:</span><i><span style="color:#2A00E1">20px</span></i><span style="color:black">;" </span><span style="color:#7F007F">allowTransparency</span><span style="color:black">=</span><i><span style="color:#2A00FF">"true"</span></i><span style="color:teal">></</span><span style="color:#3F7F7F">iframe</span><span
style="color:teal">><o:p></o:p></span></span></p></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"> </font></div><div><p class="MsoNormalCxSpFirst" style="color: rgb(0, 0, 0); font-size: 12pt; "><font class="Apple-style-span" face="'Times New Roman', serif"><br></font></p><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><i>I don't know if anyone faces this issue before, but i cannot find anything relevant in the older posts. </i></font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; font-style: italic; "><br></div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><i>Best Regards,</i></font></div><p style="font-family: 'times new roman', 'new york', times, serif; font-style: italic; color: rgb(0, 0, 0); font-size: 12pt; ">Rajat
Arora</p><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="position: fixed; color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "></div>
</div><br>
</body></html>