Thanks, that's interesting. The chrisltd blog is from 2015, so I did wonder if some of it might be out of date by now.
AFAICS (which I didn't notice at first) sharingbuttons has a slightly different FB URL, which may not give an error:
https://facebook.com/sharer/sharer.php?u=YOUR-URL
Compared to chrisltd's: