Facebook share strips og:title with "#" and "@"

90 Views Asked by At

In one of our content page, we have a Facebook share using og tags. The page has og:title with content having "#" and "@". This is getting generated in the run time HTML without any issues.

This is the runtime meta tag from webpage:

<meta property="og:title" content="Check out this awesome project, &quot;interesting title of the event &quot;, and see how we can all #interestingproject with test! @test 
 Saturday, Dec 2nd at 9:00am">

When this is successfully shared to Facebook, the title is displayed without "#" and "@". When I try to scrape the URL, the og:title shows up without "#" and "@". Tried to do a JavaScript encodeURI of this value. But does not help.

Tried to google as well search through Facebook docs. I could not find any explanation for this. OpenGraph documentation mentioned the value of the tags are Unicode string literals.

Does Facebook strip these characters?

0

There are 0 best solutions below