juampi92/test-seo

OpenGraph tags use "property" instead of "name" as attribute.

Closed this issue · 1 comments

Hey,

Thanks for the package. Like it a lot but ran into an issue.

The current implementation only checks the name attribute for twitter() and openGraph() methods.

It seems this is correct for Twitter (https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started) but it seems the default attribute name is property for open graph tags. (https://ogp.me/)

I opened a PR with the fix, in case you wanna take a look: #3