{"id":16,"date":"2011-08-24T17:50:00","date_gmt":"2011-08-24T11:50:00","guid":{"rendered":"http:\/\/promincproductions.com\/blog\/?p=16"},"modified":"2014-05-03T18:51:55","modified_gmt":"2014-05-03T12:51:55","slug":"facebook-asynchronous-like-button-with-callback","status":"publish","type":"post","link":"https:\/\/promincproductions.com\/blog\/facebook-asynchronous-like-button-with-callback\/","title":{"rendered":"Facebook Asynchronous Like Button with Callback"},"content":{"rendered":"<p>I was struggling to get my Facebook like button to callback to allow for tracking when using an asynchronous method.<\/p>\n<p>I came across this article that had the winning answer for me; posted by Dennis M.<br \/><a href=\"http:\/\/stackoverflow.com\/questions\/6817894\/fb-event-subscribe-not-firing-for-certain-events\" data-lasso-id=\"19\">http:\/\/stackoverflow.com\/questions\/6817894\/fb-event-subscribe-not-firing-for-certain-events<\/a><\/p>\n<p>What it turns out was my issue was that I was missing some parameters to the FB.Event.subscribe<\/p>\n<p>Regardless, there doesn&#8217;t seem to be much information on the net about doing this asynchronous method; so thought I&#8217;d share to hopefully direct people in the right direction.<\/p>","protected":false},"excerpt":{"rendered":"<p>I was struggling to get my Facebook like button to callback to allow for tracking when using an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[10],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-facebook-development"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4BbcR-g","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":1,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}