Content pfp
Content
@
0 reply
0 recast
0 reaction

rish pfp
rish
@rish
a problem we consistently hear from developers is not knowing what content is behind embed urls in a cast now @neynar returns `content_type` for all casts w/ embeds, sample screenshot from /cast API: docs.neynar.com/reference/cast open to hearing what other metadata we should provide h/t @tybo for the work 🪐
17 replies
15 recasts
84 reactions

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
Lovely! Image dimensions would be useful too. I currently do this myself.
1 reply
0 recast
2 reactions

rish pfp
rish
@rish
yep makes sense, seems like image dimensions is the next top request :) how do you do this yourself today btw?
1 reply
0 recast
0 reaction

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
I use golang's built-in image lib. Although it doesn't support all image formats. I considered switching to fastimage to avoid reading all the bytes. https://github.com/rubenfonseca/fastimage
0 reply
0 recast
1 reaction