Home Facebook check like - FB.Event.subscribe not working anymore if you like FB page
Reply: 0

Facebook check like - FB.Event.subscribe not working anymore if you like FB page

JohnyFree
1#
JohnyFree Published in 2017-12-06 20:52:42Z

I used this to check if user clicked like button:

FB.init({
  appId      : 'APP_ID',
  xfbml      : true,
  version    : 'v2.1'
});
FB.Event.subscribe('edge.create', function(response) {
    showCoupon('Facebook like')
}); 

This seems to not work properly anymore if:

a) User is not logged in

b) If like url is Facebook page and not your website url

In these cases, it will show Facebook dialog to login/confirm like. Once you login/confirm like, it will close dialog but it won't trigger FB.Event.subscribe

Is anybody else facing the same issue, were there any updates lately and is there any solution to this problem?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.310697 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO