Facebook seems to choke on a couple of posts I’ve made recently:
These are fairly typical of my posts, with the exception that they contain some unusual characters (Ћ and ±) in their titles. When pasting one of the problematic links above into Facebook, a preview of the link is not generated. Twitter doesn’t have the same problem. I’ve tried transforming the OG title with
htmlspecialchars()(without any special arguments) but it didn’t seem to help. (Incidentally, I’ve been using the numero character [№] for a while now with no ill effects.)
- The topic ‘Unusual characters in title breaks Facebook link preview’ is closed to new replies.