Files
next.js/test/e2e/app-dir/metadata/app/twitter/player/page.tsx
Jiachi LiuandGitHub 9822f78f1f Resolve metadata fields (#45237)
## Feature

- [x] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [x]
[e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
2023-01-27 12:57:48 +01:00

22 lines
468 B
TypeScript

export default function page() {
return 'twitter player'
}
export const metadata = {
twitter: {
card: 'player',
title: 'Twitter Title',
description: 'Twitter Description',
siteId: 'siteId',
creator: 'creator',
creatorId: 'creatorId',
images: 'https://twitter.com/image.png',
players: {
playerUrl: 'https://twitter.com/player',
streamUrl: 'https://twitter.com/stream',
width: 100,
height: 100,
},
},
}