<script>
FB.Event.subscribe('edge.create', function(href, widget) {
alert('You just liked the page!');
});
</script>
More Related Contents:
- How do I convert an existing callback API to promises?
- How does Facebook disable the browser’s integrated Developer Tools?
- Getting a better understanding of callback functions in JavaScript
- CSS transition doesn’t start/callback isn’t called
- Create a custom callback in JavaScript
- Get the contents of a table row with a button click
- JavaScript Callback Scope [duplicate]
- Why my show hide button needs double-click on first time
- Can a website know if I am running a userscript?
- How to access custom attributes from event object in React?
- When using callbacks inside a loop in javascript, is there any way to save a variable that’s updated in the loop for use in the callback? [duplicate]
- When should I use return false in jquery function?
- How to have a javascript callback executed after an update panel postback?
- passing index from for loop to ajax callback function (JavaScript)
- Is it possible to add a link to download a file that can only be downloaded by sharing it on Facebook?
- Has Facebook sharer.php changed to no longer accept detailed parameters?
- Facebook App: localhost no longer works as app domain
- Javascript – Dynamically assign onclick event in the loop
- Asynchronous Script Loading Callback
- Hiding a button in Javascript
- How to detect Facebook in-app browser?
- Attribute onclick=”function()” not functioning as intended?
- Confirm postback OnClientClick button ASP.NET
- How to add a Facebook “Like” button to an AJAX driven page
- How to click a browser button with JavaScript automatically?
- JavaScript button onclick not working
- Form submit button will not submit when name of button is “submit” [duplicate]
- FB.logout() called without an access token
- Change text color with Javascript?
- How could I change window’s location without reloading and # hack?