As designed Open Graph Multiple Images

silence

Well-known member
So it seems that in the template `open_graph_meta` it is possible for two images to be defined. But it looks like Facebook grabs the first one as shown when testing here: https://developers.facebook.com/tools/debug/

Test here for this thread:
https://developers.facebook.com/tools/debug/sharing/?q=https://xenforo.com/community/threads/open-graph-multiple-images.124465/

It seems it's working as intended on other services but I haven't had the time to test this completely. It may just be Facebook.

Could we get the template updated to do an if/else statement so there will only be one og:image at a time?

Thank you!
 
If you only want 1 image, then that might be best for you to adjust, but multiple images are allowed. It's specifically mentioned here: http://ogp.me/ (See "arrays".)

If you're referring to the avatar not being used (even though first), that's more related to Facebook's image size restrictions I believe (which aren't inherent to open graph).
 
Top Bottom