Skip to content

Display URL thumbnails in feeds when opengraph data is available #1622

@willyogo

Description

@willyogo

Previously we displayed thumbnails for URLs in the feed when they were available (limit one per cast). at some point this stopped working, and now we display weird formatting for up to 2 links that are included in a cast (screenshot attached).

AC:

  1. if a cast includes a URL that returns opengraph metadata, including a thumbnail in the same style as farcaster or X (OG image, domain, page title)
  2. never display the current link embeds that are being added to the bottom of casts with a link emoji and the domain; if a user wants to open a link within a cast, they can click the link directly.
  3. only display a URL thumbnail if a cast doesn't already have an image, mini app, or other cast embedded. in those cases, continue prioritizing the other embeds.

current UI:
Image

X example which I prefer and think will work better in our case (add both the domain and the page name on top of the thumbnail image in the bottom left. use white font color for the text and a transparent black background:
Image

farcaster example:
Image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions