Can anyone tell me why facebook doesn't pull the correct og tags from this article?
I have specified the og:title and og:url but all I get is this error when I fetch new scrape information
Facebook og errors
Thanks in advance :)
You need to use an absolute URL with the protocol for the OG image:
<meta property="og:image" content="http://assets.serenity.co.uk/38000-38999/38112/300x200.jpg">
Also, the first og:image tag is this one in the source:
<meta property = "og:image" content = " " />
There are also several og:title tags in the source.
Related
For example, the URL of a page has the og: <meta property="og:image" content="https://url.com/wp-content/uploads/2016/09/image.png">
If I write that URL in LinkedIn that previous image is shown, but if I write the URL https://url.com/suburl no image is shown, and the og is the same: <meta property="og:image" content="https://url.com/wp-content/uploads/2016/09/image.png">
Why does LinkedIn do that? In fact both pages have the og meta data. What am I doing wrong?
See answer here:
https://stackoverflow.com/a/43567627/3644967
In short, it's likely because you're missing the OG prefix on your page:
<html lang="en-US" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">
Either add it manually, or if you're using a WordPress theme, use a plugin like Complete Open Graph to manage that for you:
https://wordpress.org/plugins/complete-open-graph/
I am having some difficulty implementing a solution that I found via my research here (the actual accepted answer is not helpful and has been downvoted to Bolivian).
Problem: Facebook doesn't seem to recognize the OpenGraph meta tags that I have added to my Header.
What I know (or think I know): It is my understanding that by adding some appropriate opengraph meta tags, the content, such as YouTube video, should appear in the body of the "post" on Facebook.
What I have tried so far: Referring to the solution linked above, I have tried to implement this method.
In my examples, I'm embedding this video
https://www.youtube.com/v/BQBjVr1iHH4 in the following page
https://www.keithandthegirl.com/vip/bonus/episode/9/40/this-is-40 I
would like Facebook to show the YouTube video whenever anyone shares
my page on Facebook.
Option 1: setting the og:video to https://www.youtube.com/v/YOUTUBECODE
The meta tag will look like
<meta property='og:video' content='https://www.youtube.com/v/BQBjVr1iHH4' />
Further, I have attempted to disable plugins which may conflict with this -- any plugins which appear to add OG meta tags.
On the code side: I have hard-coded the following meta tags in the Header (this will eventually become a PHP function or something, but not until/unless I can make it work on a single post):
<meta property='og:image' content='http://agnarchy.com/wp-content/uploads/2014/11/2014-11-01-22.02.37.jpg' />
<meta property='og:video' content='https://www.youtube.com/v/dt6pPdz5eqg' />
<meta property="og:video:height" content="854" />
<meta property="og:video:width" content="510" />
<meta property="og:type" content="video">
Observed behavior:
All I see is the post's featured image. When I schedule or submit this link to my facebook page, Facebook does not recognize the OpenGraph tags and does not render the embedded video as part of the content of this Facebook post:
Desired behavior:
This is at odds with the suggested method, which if I use the URL provided in that answer, I can see the embedded video player:
I'm having an issue with the thumbnail / featured image, headline and og meta not showing up if I paste a link in FB with one specific post but not others. (Flushing the cache on FB doesn't work).
The site's on WordPress and the Yoast SEO plug-in should sort out the OG meta tags if you correctly enter your FB settings in the right section and I believe I have. I have also just pasted the code in my theme's functions.php
Here is my most recent blog post where it has no image nor headline: http://robcubbon.com/essential-wordpress-plug-ins-website/
– however it works on other posts
On the Debug tool it says: Must: "The 'og:type' property is required, but not present". But it's there : <meta property="og:type" content="article" />
It also says: Should: "The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags." And it's there:
<meta property="og:url" content="link here" />
The OG Meta is exactly the same on this post (as far as I can see) as all other posts that have featured image and other meta info displaying properly in FB.
I would really appreciate if someone know why this is happening
I have an application and i am using Pinterest share in my site. For sharing title i am using og meta-tag like this:
<meta property="og:title" content="ABC SCHOOL2">
Now i want to share description. please tell me which og mata tag is used for description?
Use this official documentation from Pinterest https://developers.pinterest.com/rich_pins/
from my test just now. meta description works fine
<meta name="description" content="4 Pics, 1 Word Tagalog" />
Try to view source my page (copy paste following in your browser location):
view-source:http://fedmich.com/android-games/4-pics-1-word-tagalog/
I am new to this. We have a wedding photography web site.
http://www.DawnKellyPhotography.com/fbshare/FBalbum/
I have used the Facebook developer page to generate the code to put on the put a Like button on each image's individual page, using the iframe method.
<iframe src='//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdawnkellyphotography.com%2Ffbshare%2FFBalbum%2F%3Fshow%3Dslides%2FNodownLoad.html&send=false&layout=standard&width=450&show_faces=true&action=like&colorscheme=light&font&height=80' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:250px; height:80px;' allowTransparency='true'></iframe>
I have also added the meta og tags to the image's html wrapper file.
<meta property="og:type" content="website">
<meta property="og:sitename" content="Dawn Kelly Photography">
<meta property="og:url" content="http://www.DawnKellyPhotography.com /fbshare/FBalbum/?show=slides/NodownLoad.html">
<meta property="og:image" content="http://www.DawnKellyPhotography.com/fbshare/FBalbum/slides/NodownLoad.jpg">
<meta property="og:title" content="Facebook Test Gallery">
I was expecting that the Like click would post the og:image and the og:url. Instead, just a link to the web site's base url is being posted along with the home page's image. The gallery is generated using JAlbum and a custom skin, and runs on the web site using a custom javascript. I have access to change any of these as needed.
Thanks in advance.
Any help will be appreciated.
You are missing og:image tags from your link you specified in your iframe.
Fix the warnings you have on the linter tool.
Inferred Property: The og:url property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property: The og:title property should be explicitly provided, even if a value can be inferred from other tags.
http://graph.facebook.com/10150531249004372
http://developers.facebook.com/tools/debug/og/echo?q=http%3A%2F%2Fdawnkellyphotography.com%2Ffbshare%2FFBalbum%2F%3Fshow%3Dslides%2FNodownLoad.html