Last week I searched a lot and tested different plugins to add facebook comments and like buttons. The one that I most liked was Plugin Total Facebook, it is easy and have good position settings.
Right now, the facebook does not notificate you about new comments or like that your post receives, so I decided to code this using Javascript SDK. I used the event interface to know when somebody Like or Comment on your publication.
A lot of my tests returned the FB object was inexistent (Uncaught ReferenceError: FB is not defined), the FB.init was already called (FB.init has already been called – this could indicate a problem) and other erros. So i modified the function fbsdk_includeWFC() to do the init async and add a function to be called when a “edge.create” (Like) event or “comment.create” (Comment) event are done.
[code lang=”php”]
function fbsdk_includeWFC(){
$wfcglb = get_option(‘wfc_global’);
echo ”
window.fbAsyncInit = function() { FB.init({ appId : '" . $wfcglb['appid'] . "', // App ID //channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML });
FB.Event.subscribe('comment.create', function (response) { jQuery.ajax({ url: 'test.html', //success: function (data) { alert(response.href); }, //error: function (data) { alert(response.href); } }); }); };
FB.Event.subscribe('edge.create', function (response) { jQuery.ajax({ url: 'test2.html', //success: function (data) { alert(response); }, //error: function (data) { alert(response); } }); }); };
(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = '//connect.facebook.net/en_US/all.js'; ref.parentNode.insertBefore(js, ref); }(document));“;
echo ““;
}
[/code]
Now you can modified the “url” from ajax calls to call a php url and pass parameters, and with this parameters send you an e-mail for example.
Hope this is useful for you
Matheus
I have recently started a site, the information you offer on this website has helped me greatly. Thank you for all of your time & work.
Hey there, You have done a great job. I?ll definitely digg it and in my opinion recommend to my friends. I am sure they will be benefited from this website.
I feel like I have actual luck on this platform. The rewards are generous and the overall vibe is just very welcoming. krsevenluckcasino
Lange nur gelesen, jetzt schreibe ich selbst, und gerade zu diesem Anbieter wird viel gefragt: Betrug oder serioes. Ich habe dort seit einigen Monaten ein Konto, also rede ich nicht von Geruechten aus zweiter Hand. Vorab: bei mir wurde keine Auszahlung verweigert, aber es gibt Punkte, die man kennen sollte.
Zur Regulierung: es ist eine Curacao Lizenz, also keine Lizenz nach deutschem Gluecksspielstaatsvertrag. Das ist kein Beweis fuer Abzocke, bedeutet aber, dass man sich bei Streit nicht an eine deutsche Behoerde wenden kann. Wer nur mit deutscher Lizenz spielen will, ist hier falsch. Das 1000 Euro Limit pro Monat gibt es dort nicht, was Vor- und Nachteil zugleich ist.
Zum Bonus – das ist der Punkt, an dem die meisten Abzocke rufen. Angeboten wird ein Match Bonus samt Freispielen, der Umsatz liegt bei 40x. Wichtig ist das Einsatzlimit pro Dreh im Bonus, und genau daran scheitern die meisten. Die gueltigen Bonusregeln sind nachzulesen bei fortuna casino am besten vorher durchlesen.
Zu den Zahlungen: kleinere Betraege bis 300 Euro waren innerhalb eines Tages da, bei ueber tausend Euro waren es mehrere Werktage. Verlangt wurden Ausweis, Adressnachweis und Zahlungsbeleg, mein erster Upload wurde abgelehnt, weil das Dokument zu alt war, der zweite Versuch klappte sofort. Wer erst bei der Auszahlung verifiziert, wartet natuerlich laenger.
Zusammengefasst: von Betrug wuerde ich nach meiner Erfahrung nicht sprechen, aber es ist ein Anbieter ohne deutsche Lizenz mit allem, was dazugehoert. Der Grossteil der Kritik kommt von Leuten, die Bonusbedingungen gebrochen haben, und nicht um verweigerte Auszahlungen von echtem Geld. Ohne Bonus spielen, Dokumente frueh einreichen, Limits selbst setzen – so entfallen die typischen Streitpunkte.
It’s actually a nice aand ueful ppiece oof information. I’m satisfied that youu
sjared tthis helpfdul informtion wiith us. Please stawy uss
upp to ddate lik this. Thasnks for sharing. xnxx
Explore the vocabulary of blockchain systems, from transactions and blocks to validation and network consensus.