vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
Pls, pls, pls, @v, @deodad, @horsefacts.eth! I know that Product wants short, easy on the eye URLs, but devs are supposed to help devs. :-) Can you add the fid and hash in the HTTP headers of cast pages, so that we don't have to resort to this type of hacks? Or provide an API endpoint that gets a Warpcast URL and returns the fid and hash? @dalechyn.eth here makes his app pretend to be twitter, fetches the page, parses the HTML, finds the OG image tag, and extracts the hash from the image URL!!! This can't be the right way.
6 replies
1 recast
47 reactions

Goksu Toprak pfp
Goksu Toprak
@gt
We can add to HTML header sbut you will still have to make a network request to read. Its as simple as a curl request today. Its part of the every payload. https://warpcast.com/gt/0x7e666c8e
2 replies
1 recast
5 reactions

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
cc @dalechyn.eth
1 reply
0 recast
1 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
I was not aware of the API endpoint. It is an overkill, but it will work. Adding the info in the headers, can provide a universal way of dealing with this, So I won't have to implement a separate flow for Supercast for example. I wouldn't have to care how each app structures their URLs, in order to extract the fragment, and then know the API endpoint of the app, if it has one, and how their replies are structured, etc.
1 reply
0 recast
1 reaction