I am having issues with the social share button FACEBOOK only. All other share buttons work. When I (or someone) clicks on the Facebook share button on my posts, FB opens a new tab then closes it immediately. Like I said all other share links work.
Try to disable all the plugins to check if there`s a conflict.
okay I did find the issue with this plugin,
I am not sure if the Facebook share button uses white spaces but there is a section in the minify help that says this…
= Will it break my stuff? =
Normally, you won’t notice any changes to the way the site looks in the browser. However, if you rely on white space between HTML tags (which you shouldn’t be doing) you may notice very isolated elements with reduced horizontal spacing. This is because inline objects will add a few pixels of spacing if there’s whitespace between the objects. I consider Minify HTML a good way of finding these style ‘errors’ and correcting them with proper padding or margin style.
Editing to add that I dug a little deeper. Setting this to “YES” causes the issue with Facebook.
Remove relative domain from internal URLs Yes No
This option is typically safe to set to “Yes”
Great, glad you found the problem and thanks for the feedback. I’m not sure why the FB share would be dependent on that to be honest. Are you ok with having that option to no in your plugin settings?
Ok great, thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.
The topic ‘Facebook Social Share Button Not Working’ is closed to new replies.