I am using old Facebook sharer with a button that is a link to facebook.com/sharer.php?u=LINK on my home page, because there is a lot of content that need to have some share button, but like buttons make it very slow.
So, now i made my own design of fb sharer, so when I click on share button, ajax loads a box with iframe to fb sharer.
Now I am interested if I can now when a “Share Link” button is clicked, or “Cancel” button, so that I can automatically close my box (like the original popup window is closed when those buttons are clicked)?
As it states in the documentation of the Share:
Since it’s no longer supported, there are drawbacks of using it.
With the Like button you can simply subscribe to the like event:
I don’t think that there’s a way to know that with the old share.