Immersive feed
X's vertical, full-screen video feed (the "immersive" media viewer you get when you tap into a video). You seed it with a tweet id and get a timeline of full-screen media to page through.
immersive.media(pinnedTweetId, opts?)
The immersive media feed, seeded from a tweet. Uses the GraphQL ImmersiveMedia query.
| Option | Type | Description |
|---|---|---|
pinnedTweetId | string | The tweet to start the feed from |
opts.pageName | string | Surface name (default immersive_video) |
js
const feed = await client.immersive.media("2062156420066185217");
console.log(feed.timeline);immersive.profile(pinnedTweetId, opts?)
The immersive feed scoped to a single author's media. Uses the GraphQL ImmersiveProfile query.
js
const feed = await client.immersive.profile("2062156420066185217");