gskril / farcaster-hub-feeds

Easily generate RSS, Atom, and JSON feeds directly from a Farcaster Hub.
https://feeds.fcstr.xyz
18 stars 3 forks source link

'Bad Request' for https://warpcast.com/~/channel/sop #4

Open Crul opened 3 months ago

Crul commented 3 months ago

This RSS Feed does not work, it sasy "Bad Request":

https://feeds.fcstr.xyz/rss/channel?url=https://warpcast.com/~/channel/sop

This one works (found here):

https://feeds.fcstr.xyz/json/channel?url=https://warpcast.com/~/channel/farcastles

Thanks

rahulrock213 commented 3 months ago

you should you parent_url like this "https://feeds.fcstr.xyz/json/channel?url=chain://eip155:1/erc721:0xfd8427165df67df6d7fd689ae67c8ebf56d9ca61"

rahulrock213 commented 3 months ago

https://feeds.fcstr.xyz/rss/channel?url=https://warpcast.com/~/channel/sop not working may be because of recently created also i say some of them getting last feeds below aug or sep 2023

Crul commented 3 months ago

Thank you very much.

I still have some questions. If they are not appropriate, please ignore them:

https://feeds.fcstr.xyz/rss/channel?url=https://warpcast.com/~/channel/sop not working may be because of recently created I see posts from 21 days ago. Do you know if it will work in the future?

Thanks again!

rahulrock213 commented 3 months ago

curl 'https://api.warpcast.com/v1/channel?channelId=welcome' | jq replace welcome with channel id (memes , base ) eg curl 'https://api.warpcast.com/v1/channel?channelId=memes' | jq

curl 'https://api.warpcast.com/v1/channel?channelId=base' | jq

curl 'https://api.warpcast.com/v1/channel?channelId=sop' | jq

rahulrock213 commented 3 months ago

Thank you very much.

I still have some questions. If they are not appropriate, please ignore them:

  • How can I find the value for the url param (chain://eip155:1/XXXXX...) for a given channel?
  • It seems the response for the link you provided is a stringified JSON, which I don't think it's a valid RSS Feed. Am I missing something?

https://feeds.fcstr.xyz/rss/channel?url=https://warpcast.com/~/channel/sop not working may be because of recently created I see posts from 21 days ago. Do you know if it will work in the future?

Thanks again!

same for rss also eg https://feeds.fcstr.xyz/rss/channel?url=chain://eip155:1/erc721:0xfd8427165df67df6d7fd689ae67c8ebf56d9ca61

dont know when it will work 'i am also trying to get api that fetch latest channel cast' if you are looking for same i will post once i get or if you had api plz send here

gskril commented 3 months ago

feeds.fcstr.xytz gets the casts directly from a hub, so I'm not sure why some channels would be working while others are not. Looks like there is already an open issue for this in the relevant repo https://github.com/farcasterxyz/hub-monorepo/issues/2126

You can see that the parent URL https://warpcast.com/~/channel/sop throws an error from the hub API endpoint as well https://hoyt.farcaster.xyz:2281/v1/castsByParent?url=https://warpcast.com/~/channel/sop

rahulrock213 commented 3 months ago

i got api to get recent feed of channel https://docs.neynar.com/reference/feed-channels

Crul commented 3 months ago

Thank you very much for all the info. Sadly, I don't know enough about farcaster / warpcast / ... to understand what it means.

I wanted to subscribe via RSS to the channel https://warpcast.com/~/channel/sop

I'm not even sure if this project is appropriate because the reponses are plain text (stringified JSON), and I don't think RSS readers like that.

If this is not the place to ask about this, please close the issue.

gskril commented 3 months ago

This project is appropriate for subscribing to channels via RSS readers! The response may look like plain text but it is a valid format for RSS readers. It's just an upstream hub issue causing the error for specific channels for some reason.