Solved

Facebook OG tags

  • 9 November 2010
  • 10 replies
  • 10 views

Is there a way to get Facebook Open Graph meta tags into the page head? I added them as a “script” but they’re not showing up in the page source.

icon

Best answer by Justin 10 May 2017, 18:03

View original

10 replies

Actually, as luck has it, we’re releasing a small tweak to how we handle the script insertions later today that *will* let you do this.

The only thing you won’t be able to do at the moment is add the namespace attributes to the element. That said, I just published a test page with our update in place, and used the Facebook URL Linter tool to check it:

http://developers.facebook.com/tools/…

It picked up the meta info without the namespace declarations just fine.

Anyway, should have this out in a couple hours or so, will try and remember to update this page when it goes out!

Hey there, so, we just deployed that update, and you should now be able to insert tags…

Haha - wow, that is great timing. Here’s what I’ve got in the script inserter, but the OG tags are not showing up in the page source: http://screencast.com/t/dSesBYIcgU Any tips for a not-so-technical person?

That looks right. The meta tags are inserted right before the closing . I just published a test page and had them show up just fine. Can you try re-publishing the page, and check again?

That’s great Carl!

Hi there, is there a way to add open-graph meta to Facebook Tags section? I don’t like the photo that’s being showed on facebook when I share/like my landing page.

Hi Lilly, 

You can definitely specify your Open Graph Meta Tags and choose your own custom image for social shares. Check out this how-to article below, and be sure to call us if you run into any questions 1.888.515.9161 (Mon-Fri, 9pm - 5pm PST). 

http://support.unbounce.com/entries/21114658-How-can-I-optimize-my-landing-pages-for-social-sharing-…

This seems to be a popular ask, so we’ve created an easy guide which you can find here:

I have the same problem with facebook. Please help, I don’t understand what’s going on.
This is my site: http://get.teoapp.co/monetiza-tu-oficina-extra-expansion/

Userlevel 7
Badge +3

Hey @mirian,

You should host the image to a server that you actually control and not imgur.

Try uploading it to your own server and then do a rescrape from the Facebook debug tool.

Also, when you debug fix all the other errors that it’s trowing up like wrong URL. The URL should be that of your landing page and not some other random website.

Best,
Hristian

Reply