Question

Is there a way to influence the title of a site when it's being shared on Facebook that's separate from setting the <title> in the <head> tag?

I want to have a title for visitors of the site but a different text for the facebook sharer.

Thank you.

Was it helpful?

Solution

I believe a <meta property="og:title" content="Your title here" /> tag should do the trick.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top