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

Add support for twitter cards #25

Closed
wants to merge 1 commit into from
Closed

Add support for twitter cards #25

wants to merge 1 commit into from

Conversation

martinstuecklschwaiger
Copy link

No description provided.

@martinstuecklschwaiger
Copy link
Author

It's only a small change and would not break the rest of the functionality in any way.

@AramZS thanks for your work on this library!

AramZS added a commit to AramZS/opengraph that referenced this pull request Jul 12, 2016
Pulled from scottmac#25 with some
corrections. Twitter advises the name attribute to set tags.
@AramZS
Copy link
Contributor

AramZS commented Jul 12, 2016

Hi @martinstuecklschwaiger I figured out why I couldn't get this to work, Twitter advises its tags be set with name instead of property so I couldn't get Twitter tags on any pages the library was directed at. https://dev.twitter.com/cards/types/summary-large-image

I've added code to check there for Twitter values and it works great now. I've added it to my forward master branch. Thanks!

@martinstuecklschwaiger
Copy link
Author

Thanks a lot. I'll close this PR then…

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