How to detect Facebook Like button pressed and trigger event?

后端 未结 5 611
借酒劲吻你
借酒劲吻你 2021-02-06 16:01

Here is the example:

  • http://www.facebook.com/UEvents?v=app_4949752878&ref=ts

These guys get people to click on Like button (in Step 1) first bef

5条回答
  •  后悔当初
    2021-02-06 16:35

    http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

    FB.Event.subscribe('edge.create', function(response) {
    // do something with response.session
    });
    

提交回复
热议问题