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

Update Twitter meta tags #96

Merged
merged 2 commits into from
Apr 23, 2022
Merged

Update Twitter meta tags #96

merged 2 commits into from
Apr 23, 2022

Conversation

erayalkis
Copy link
Collaborator

@erayalkis erayalkis commented Apr 22, 2022

Description

This PR updates the DefMeta component to include the necessary tags for Twitter to display embeds properly. Previously, while we had the twitter:image meta tag set correctly, it didn't have the other necessary meta tags (such as twitter:card etc.) as DefMeta wasn't updating them properly.

The embeds now look like this:
image

Fixes #95

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Had to test the new changes using an extension again as theres no real other way to test them, but can confirm that everything works as intended so far!

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@vercel
Copy link

vercel bot commented Apr 22, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/atapas/react-play/8jTzZU4RBpmXxnykV885WURhuS6p
✅ Preview: https://react-play-git-fork-erayalkis-main-atapas.vercel.app

@atapas atapas merged commit ad76da0 into reactplay:main Apr 23, 2022
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.

🐛 [Bug report]: Twitter meta tags don't work properly
2 participants