views:

63

answers:

1

I'm trying to update the meta content of the fb's open graph title. I updated the content but when it published the feed, its still pulling the old info.

Example:

<meta property="og:title" content="Title 1"/>
I managed to update to
<meta property="og:title" content="Title 2"/>

When I click on the FB like, its still pointing the title to "title 1".

Clue?

A: 

I'm guessing you figured this out already, but others may have the same problem.

You can't change the open graph meta tags with javascript after the pageload, as facebook requests the page from the server again when looking for the meta tags, and so it will not find the updated tags.

Furthermore I found that facebook only searches the header for the open graph meta tags, so adding them in the body will not work either.

Hans Skov