By Clayton Dukes on Wednesday, 29 October 2014
Posted in Technical Issues
Replies 11
Likes 0
Views 1.8K
Votes 0
How do I set meta tags for Facebook, LinkedIn, etc? Like the examples here: http://boostblogtraffic.com/social-metadata/
Whenever I post a blog entry, FB doesn't scrape the image from my blog entry, it scrapes an image from our home page.
Is there a way to set the og meta tags somewhere? Or am I doing something wrong?
The blog entry URL is http://logzilla.net/blog/using-perl-to-convert-ip-blocklists-blacklists-to-cisco-access-lists

I tried the FB debugger at https://developers.facebook.com/tools/debug/og/object/ and it says the tags are missing:
Like Button Tag Missing og:type is missing. The og:type meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.
Like Button Tag Missing og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.
Inferred Property The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Hello Clayton,

What I can suggest you is to checking every plugin to see which plugin that insert this meta. Please give it a try first. If this doesn't work, we need your backend and FTP to check.
·
Thursday, 30 October 2014 10:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Here's what the entry looks like when I try to post it on FB.
·
Wednesday, 29 October 2014 12:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Clayton,

When you post a new blog post on the site with a blog image, EasyBlog will automatically set the opengraph tags for you. It's most likely that you did not select a blog image for your post. Blog image is more like a "primary image" for your blog post.
·
Wednesday, 29 October 2014 12:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, in fact I did post with a blog image. But that is not the only problem here - there are none of the other relevant tags being provided to FB either, like the title, etc.
Ideally, this is what should be getting passed - is there a way I can add these somewhere?

<meta property="og:title" content="Using Perl to convert IP Blocklists (Blacklists) to Cisco Access Lists" />
<meta property="og:site_name" content="LogZilla Network Event Management" />
<meta property="og:url" content="http://www.logzilla.net/blog/using-perl-to-convert-ip-blocklists-blacklists-to-cisco-access-lists" />
<meta property="og:description" content="As most good geeks will tell you, our brains don't do "idle" very well - that's when we start breaking things just to see if they can be broken " />
<meta property="og:image" content="http://www.logzilla.net/images/easyblog_images/848/b2ap3_thumbnail_HappyLittleFalcon.png" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@logzilla" />
<meta name="twitter:creator" content="@cdukes" />
<metaname="twitter:url" content="http://www.logzilla.net/blog/using-perl-to-convert-ip-blocklists-blacklists-to-cisco-access-lists" />
<meta name="twitter:title" content="Using Perl to convert IP Blocklists (Blacklists) to Cisco Access Lists" />
<metaname="twitter:description" content="As most good geeks will tell you, our brains don't do "idle" very well - that's when we start breaking things just to see if they can be broken " />
<metaname="twitter:image" content="http://www.logzilla.net/images/easyblog_images/848/b2ap3_thumbnail_HappyLittleFalcon.png" />
·
Wednesday, 29 October 2014 13:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Clayton,

Hm, EasyBlog does generate these open graph tags on the page. Are you viewing the item or are you viewing the front page listing? These tags are only generated on the item view.
·
Wednesday, 29 October 2014 14:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm viewing the item.
·
Wednesday, 29 October 2014 14:51
·
0 Likes
·
0 Votes
·
0 Comments
·
That just made me think to view source on the page, and yes, it is indeed generating them, but for some reason, they're wrong?

<meta property="og:url" content="http://www.logzilla.net/" />
<meta property="og:title" content="LogZilla is global provider network management software, using syslog for devices on centralized networks" />
<meta property="og:image:type" content="image/jpg" />


The content one should be pointing to the blog uri, not the main website.
Same for title, it should be the blog entry's title.
·
Wednesday, 29 October 2014 14:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Clayton,

I've checked your page source and seems like there are two og tags: http://screencast.com/t/ACBnrSghy . The bottom highlighted og tag is the one generated by Easyblog. Can you provide us your backend and FTP access so we can have a better look on where the top og tag come from? Please advise.
·
Wednesday, 29 October 2014 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Very interesting! I did not notice that!
Unfortunately, I can't give you access due to company security policies. Can you recommend some things I can check on? I am very comfortable in Linux.
·
Thursday, 30 October 2014 00:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Yay! I found it!
The company that we originally hired to build the site had hard-coded it into the index.php...sheesh!

Thanks for the help!
·
Thursday, 30 October 2014 12:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Clayton,

Great! Glad that you have found it.
·
Thursday, 30 October 2014 14:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post