Content pfp
Content
@
0 reply
0 recast
0 reaction

zeno pfp
zeno
@zeno
Does anyone have a good write up on how to pull in awesome embeds in your NextJS app without using OG (casts do not have OG tags)?
2 replies
0 recast
2 reactions

pugson pfp
pugson
@pugson
not sure what you mean but i made this if you just wanna embed casts in your next app https://wojtek.im/journal/react-farcaster-embed-casts-in-your-react-app
1 reply
0 recast
2 reactions

zeno pfp
zeno
@zeno
oh cool! Will check it out. Trying to display a collection of casts on my NextJS site and wondering if there was a general pattern for capturing these types links to display them as seen in the screenshot. Seems like Discord is generating the information above the OG image on their end. Any info would be appreciated.
1 reply
0 recast
0 reaction

pugson pfp
pugson
@pugson
you’d have to scrape the page for og metadata. example: https://microlink.io/
1 reply
0 recast
1 reaction

zeno pfp
zeno
@zeno
yup, I'm just not finding it on the page. how would Discord be pulling that information?
1 reply
0 recast
0 reaction

pugson pfp
pugson
@pugson
you need to use a crawler user agent probably. https://microlink.io/meta
1 reply
0 recast
1 reaction

zeno pfp
zeno
@zeno
ohhh ok great, thanks for the help
0 reply
0 recast
0 reaction