Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook share, title not shared

Tags:

facebook

Go to the following url http://www.facebook.com/sharer.php?u=http://www.google.com&t=test%20title

The title is not shown in the shared message.

Am I using it correctly or is it a bug in facebook api.

Regards, Pankaj

like image 424
Pankaj Avatar asked Oct 13 '22 17:10

Pankaj


1 Answers

I'm pretty sure that Google changes the Title attribute of the page via javascript. If you look at the source code of their search results page, the TITLE tags simply contain "Google".

Google doesn't do it, but if your page includes the "og:title" Open Graph metadata tag, Facebook will give that priority over your TITLE tags.

like image 83
Josh Wolf Avatar answered Jan 01 '23 10:01

Josh Wolf