I've been trying to add facebook article:author metatag to wordpress, unfortunately I have no idea how to add it for multiple authors. This is what I've done so far and still the author's name doesn't show up in the facebook shares.
<meta property="article:author" content= "<?php $author = get_the_author(); ?>" />
According to https://developers.facebook.com/docs/reference/opengraph/object-type/article#properties the article:author contains
An array of Facebook profile URLs or IDs of the authors for this article.
As of https://developers.facebook.com/docs/opengraph/creating-custom-stories/#propertytypes-simple
You define an array value by repeating the same meta tag name for each element of the array.
Example
<meta property="cookbook:ingredients" content="Chocolate">
<meta property="cookbook:ingredients" content="Sugar">
<meta property="cookbook:ingredients" content="Butter">
Make sure you define
<meta property="og:type" content="article" />
as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With