Click here to Skip to main content
15,904,415 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

My project is related with e commerce where i have to implement likes count,tweets count ,pinterest count

since am developing the code locally will i be able see the total counts

Example:i have attached Twitter Code

<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0]; if (!d.getElementById(id))
{ js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); }
}

Posted

1 solution

use hits counters(its for java ).its can be used on jsp page

%>]]>
 
Share this answer
 
Comments
Kaushik.Subramanian 30-Oct-13 3:09am    
i wan the count to increase when the click on the face book link button or twitter tweet button and the same link should appear on their activity log page r twitter tweet page .And here in my local host page the count should be increase from 0 t0 1 in this link u can c http://www.manrepeller.com/ for every blog post there are separate count
adityaat548 30-Oct-13 4:07am    
I think.counter has to be count when local host(machine IP) has been changed.means a user login by a machine IP 192.6.0.12 and click over face book button will be increase 1.
its done only one time and only 1 counter has been increase from one IP and second from second fresh IP.
Kaushik.Subramanian 30-Oct-13 7:12am    
But for me the count is also not displaying
adityaat548 30-Oct-13 7:25am    
where is you want to be seen the counter. can provide the request and response page code
Kaushik.Subramanian 30-Oct-13 7:59am    
<iframe id="f1e0063668" name="fc6f07224" scrolling="no" title="Like this content on Facebook."
class="fb_ltr" src="http://www.facebook.com/plugins/like.php?api_key=&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D27%23cb%3Df11c13bf62b6b04%26domain%3Dwww.swimspot.com%26origin%3D
http%253A%252F%252Fwww.swimspot.com%252Ff367989eb380f66%26relation%3Dparent.parent&colorscheme=light&extended_social_context=false&font=arial&
href=http%3A%2F%2Flocalhost.local%3A54342%2FWebsite4%2Ftwitter.aspx&layout=button_count&locale=en_US&node_type=link&sdk=joey&send=false&show_faces=false&width=90">
</iframe> this code works but the problem is the local host site which i liked is not displaying in the facebook activity log

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900