Content
@
https://paragraph.xyz
0 reply
0 recast
0 reaction
Colin
@colin
Just launched: cast embeds! Paste any warpcast.com link into the Paragraph editor and we turn it into an image embed, using the new OpenGraph tags launched on Warpcast.
2 replies
6 recasts
45 reactions
Colin
@colin
h/t @cmlad.eth for implementing this and @gt for helping me get this working
2 replies
0 recast
1 reaction
woj
@woj.eth
roughly, how does it work? do you have an endpoint that triggers warpcast url and parses the og tags?
1 reply
0 recast
1 reaction
Colin
@colin
- user pastes link into editor, triggers existing endpoint to retrieve rich media based on URL - that endpoint now detects its a FC URL then uses axios to GET the URL using Twitterbot headers - use Cheerio to extract OG tags - use Axios again to fetch image bytes and upload to GCS - return GCS URL to frontend
2 replies
0 recast
4 reactions