Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Twitter Card use name instead property #971

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

ncaq
Copy link
Contributor

@ncaq ncaq commented Mar 4, 2023

Twitter’s parser will fall back to using property and content, so there is no need to modify existing Open Graph protocol markup if it already exists.

Getting started with Cards | Docs | Twitter Developer Platform

It may be usable for now since it is fallback, but it is better to output the correct one just in case.

> Twitter’s parser will fall back to using property and content, so there is no need to modify existing Open Graph protocol markup if it already exists.
>
> [Getting started with Cards | Docs | Twitter Developer Platform](https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started)

It may be usable for now since it is fallback, but it is better to output the correct one just in case.
@Minoru
Copy link
Collaborator

Minoru commented Apr 3, 2023

Makes sense, thank you!

@Minoru Minoru merged commit 13b4697 into jaspervdj:master Apr 3, 2023
@ncaq ncaq deleted the fix-twitter-card branch April 5, 2023 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants