ashhitch/wp-graphql-yoast-seo

Yoast Config Data (socials) - plugin is not updated to the newest Yoast data structure

Closed this issue · 1 comments

Yoast Version 17.7.1

Yoast provided individual inputs for specific social platforms:

Screenshot 2022-06-27 at 22 23 04

and it was reflected in this graphQL plugin:

social {
    facebook {
        url
        defaultImage {
            mediaItemUrl
        }
    }
    instagram {
        url
    }
    linkedIn {
        url
    }
    mySpace {
        url
    }
    pinterest {
        url
        metaTag
    }
    twitter {
        cardType
        username
    }
    wikipedia {
        url
    }
    youTube {
        url
    }
}

Yoast Version 19.1

Yoast provides named inputs only for Facebook and Twitter. All the rest are platform-agnostic.

Screenshot 2022-06-27 at 22 24 24

⚠️ You can fetch Facebook and Twitter data with following query but it's not possible to get the rest of fields. ⚠️

social {
    facebook {
        url
        defaultImage {
            mediaItemUrl
        }
    }
    twitter {
        cardType
        username
    }
}

Sorry about the delay in getting this done.
v4.19.0 contains these profiles