When I try to share any link on my site with facebook sharer.php, I get a blank page
I want to share
http://sportmenow.com/bar.php?id=10
with
https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fsportmenow.com%2Fbar.php%3Fid%3D10
But this sends me to a blank page (firefox and chrome)
as does simply
https://www.facebook.com/sharer/sharer.php?u=sportmenow.com
Is this because of some issue with the site hosting? It is accessible to the web...
I needed to add facebooks OG tags. I guess this is a relatively new requirement? I inherited this site recently, so I was not present when it was implemented first, but I hear it was working.
How did I infer this
Step 1 - I have just discovered the Facebook debugger
this page suggests that there is something wrong with the formating of my html or something in that area, and it is possible that the critical error is the one causing this issue.
There is also wave.com which also performs such checks, but not sure if they are the same errors.
Step 2- Critical Error Linting URL: An internal error occurred while linting the URL and others kept suggesting the og tags which led me to try it out. Adding a og:image
tag fixed it.