ctcp Posted October 2, 2011 Share Posted October 2, 2011 can sombady help me how to count and store to mysql database facebook likes i got FaceBook Like Button with php code <div id="FaceBookLikeButton"> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1" type="text/javascript"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- var fb = document.createElement('fb:like'); fb.setAttribute("href","<?php $url=$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];echo $url;?>"); fb.setAttribute("layout","button_count"); fb.setAttribute("show_faces","false"); fb.setAttribute("width","100"); fb.setAttribute("font","arial"); document.getElementById("FaceBookLikeButton").appendChild(fb); //--><!]]> </script> </div> Quote Link to comment Share on other sites More sharing options...
iblood Posted October 2, 2011 Share Posted October 2, 2011 I believe you're gonna need to use FQL for this. This might help. http://developers.facebook.com/docs/reference/fql/link_stat/ Quote Link to comment Share on other sites More sharing options...
ctcp Posted October 3, 2011 Author Share Posted October 3, 2011 well its not possible to count ? i don't whant to use fql becouse i need use Api keys ... Quote Link to comment Share on other sites More sharing options...
polycap9 Posted October 15, 2011 Share Posted October 15, 2011 I recommend try using fql.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.