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

Added Support for Twitter App Cards #18

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

klezaic
Copy link

@klezaic klezaic commented Oct 5, 2023

Added support for Twitter App cards, based on Twitter documentation:
https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards.

Newly implemented Astrotomic\OpenGraph\Types\Twitter\App class can be used to generate Twitter App cards, with full support for all of the following:

  • iPhone App
  • iPad App
  • GooglePlay App
  • ... or any combination of apps listed above

Implemented support for non-mandatory fields like:

  • url
  • country

Updated tests: tests/TwitterTypesTest.php

Closes #15

@klezaic klezaic mentioned this pull request Oct 5, 2023
@Gummibeer
Copy link
Member

Thanks 🎃

@Gummibeer Gummibeer merged commit c1e3230 into Astrotomic:main Oct 9, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add Twitter App Card
2 participants