Content pfp
Content
@
https://paragraph.xyz
0 reply
0 recast
0 reaction

Colin pfp
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 pfp
Colin
@colin
h/t @cmlad.eth for implementing this and @gt for helping me get this working
2 replies
0 recast
1 reaction

​woj pfp
​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 pfp
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

Carlos Matallín pfp
Carlos Matallín
@matallo.eth
It would be great if Warpcast implemented oembed so you’d only need to fetch a json endpoint. I built an embeds api based on this but never launched it.
0 reply
0 recast
0 reaction

​woj pfp
​woj
@woj.eth
awesome, thank you for explaining 🙌
0 reply
0 recast
0 reaction