javascript - Not Capturing FB Like Event -
I have placed the button using the iframe code like FR ...
For buttons here The code is: And I'm using this code to capture events like FB ... Here's the code: but .. It does not work. Your question is not quite clear when you go to the doctor What you do not say, I feel pain and hopefully you will fix it. Are you loading javascript sdk properly? This code should work for you, as long as you do not firing other script errors and generally stop working on the Facebook SDK. & lt; Iframe src = "// www.facebook.com/plugins/like.php?href=https%3A%2F%2Fmadamebridal.com%2Fdev%2Fcheckout%2Fonepage%2F& send = false & amp; layout = Standard & amp; width = 450 & show_faces = True & amp; amp; amp; & amp; amp; amp; amp; amp; amp; amp; amp ;; no "Frameborder =" 0 "style =" border: none; overflow: hidden; width: 450px; height: 80px; "allowTransparency =" true "& gt; & Lt; / Iframe & gt;
< Code> window FbAsyncInit = function {(function (d, s, id) {var js, fjs = d.getElementsByTagName (s) [0]; if (d.getElementById (id)) returns; js = d.createElement (S); Js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore (JS, FJS);} (document, ' Script ',' Facebook-jssdk ')); // Additional initialization code here fb.eventsssbib ('ed. Quet', function) {alert ('you this yeha' liked;});}
& lt; body & Gt; Tag
Comments
Post a Comment