Support Forum

Question about SEO open graph

JN Jacky New
Jacky New
Member

Hello Mr Yellow and Mr Papa,  see you again smile

When I select SEO open graph and test a topic page in facebook debug tool, it says:
“The provided ‘og:image’ properties are not yet available because new images are processed asynchronously. To ensure shares of new URLs include an image, specify the dimensions using ‘og:image:width’ and ‘og:image:height’ tags.”  

It seems because of the topic page didn’t have og image width and height so fb didn’t scrape it, but when I Click scrape again, fb got it.  I don’t know if it’s possible for us to add the width and height in our page so fb can fetch them at the first time and then I don’t need to click the button to scrape them twice.Thank you!

You can refer to the screenshot here: 
Facebook open graph

9 Answers

New Answer

MP Mr Papa
Mr Papa
Member

argh… cant open that link on my work computer and on business travel..

where are you seeing that message??  not sure what fb debug tool is…

JN Jacky New
Jacky New
Member

Haha , Mr Papa, thanks for your prompt reply.

As it described “You can use the Sharing Debugger to see the information that is used when your website content is shared on Facebook, Messenger and other places. The Batch Invalidator will let you refresh this information for multiple URLs at the same time. Open Graph markup lets you take control over how your website content appears to others”
https://developers.facebook.com/tools/debug/

YS Yellow Swordfish
Yellow Swordfish
Member

I will need to do some research on this one but it is odd that we have no other reports such as this.

The image dimensions should be passed in the ‘og:image’ parameter which contains a link to the image. That link should contain dimension data.

Is it possible that the source image being used does NOT contain dimension attributes?

JN Jacky New
Jacky New
Member

Yes, it’s possible that the image doesn’t include dimension attributes, but in this situation we’ll let facebook to scrape our page twice(to get the image cached) so the share can show a image, actually I don’t know how this works.lol

YS Yellow Swordfish
Yellow Swordfish
Member

Well I can tell you that passing image width and height through the og metadata is entirely optional and fb should detect these attributes through the image url that IS passed.

What would be useful is for you to check if the source image ‘img’ tag has dimension attributes and, if not, to add them to see if this recurs.

YS Yellow Swordfish
Yellow Swordfish
Member

Curious. That suggests that the og meta tags output by the 3rd party plugin should not do anything on the forum page. Are you able to confirm that by looking at the source code being generated?

JN Jacky New
Jacky New
Member

Yes, The wp Open Graph plugin did also add some og: tags in forum pages, but it set the featured image as the the og:image, it works for blog post when I set a featured image, but as a forum topic ,I can’t set a featured image.

When I use sp components “Open Graph” to add og tags, it will set image attachment as og:image, it ‘s cool, but it just didn’t contain image dimension attributes.

YS Yellow Swordfish
Yellow Swordfish
Member

So – with this other og plugin you are using – can you exclude the forum page from using it? I would hope that this would be possible – as it should be?