Skip to content

Commit

Permalink
Update Twitter Cards docs
Browse files Browse the repository at this point in the history
- Remove link to validator (no longer works)
- name change to X
- Update Google's structured-data/testing-tool link to prevent redirect
  • Loading branch information
coliff committed Oct 10, 2023
1 parent 0a9f716 commit 3db3ec1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,7 @@ Twitter provides a snippet specification that serves a similar purpose to Open
Graph. In fact, Twitter will use Open Graph when Cards is not available. You can
read more about the various snippet formats in the
[official Twitter Cards
documentation](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards),
and you can validate your markup with the [Card
validator](https://cards-dev.twitter.com/validator) (needs registration to
Twitter).
documentation](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards).

```html
<meta name="twitter:card" content="summary">
Expand All @@ -248,7 +245,7 @@ search-engine, although this vocabulary is also used by Microsoft, Pinterest and
Yandex.

You can validate your markup with the [Structured Data Testing
Tool](https://search.google.com/structured-data/testing-tool). Also, please
Tool](https://developers.google.com/search/docs/appearance/structured-data). Also, please
note that this markup requires to add attributes to your top `html` tag.

```html
Expand Down

0 comments on commit 3db3ec1

Please sign in to comment.