android - facebook like event not work -
this html colde . want fire fb event() when click button.
<html xmlns:fb="http://ogp.me/ns/fb#"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> </head> <body > facebook test! <div id="fb-root"></div> <script type="text/javascript"> window.fbasyncinit = function() { fb.init({ appid : '578995225546612', status : true, cookie: true, xfbml : true }); console.log("i m in inint()"); fb.event.subscribe('edge.create', function(href, widget) { alert('testing :)'); console.log("chan me !!!"); }); }; (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 = "https://connect.facebook.net/en_us/all.js"; fjs.parentnode.insertbefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> </script> <fb:like href="https://www.facebook.com/99sanay" layout="standard" action="like" show_faces="true" share="false"></fb:like></body>
i try facebook event . when click button ,nothing happen . following message get.
Comments
Post a Comment