StevenB on Nostr: So, nsiteBeats is trying to fetch data from the Podcast Index but is failing because ...
So, nsiteBeats is trying to fetch data from the Podcast Index but is failing because it doesn’t have auth keys. We could get auth keys and hard code then in the static file, but then they’re visible for all to see. Not necessarily a bad thing, but if abused, the keys get revoked. There’s browser plugins that are doing it this way. I’m trying to think of a way nsiteBeats could make a call to an API and the API can say, yeah, I approve traffic from any site with that npub, here’s your data.
Published at
2025-01-06 23:32:18Event JSON
{
"id": "99c82bd933b1667f88b5c79738d7ffa4f4b0180725c5cc5a4e1539fbcc4c75b4",
"pubkey": "23103189356cf7c8bc09bb8b431fc3e71e85582c8f755b9ee160203c9c19e403",
"created_at": 1736206338,
"kind": 1,
"tags": [
[
"e",
"3d4bff327a554c0cad9797fe9a863d63263333244c568e402b579df4411ea106",
"wss://nostr.wine/",
"root"
],
[
"e",
"300d6c1f604cf8a70455bf58bcd7740048ea0b00e0399fc2eaa7a0b18db81a0f",
"",
"reply"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
]
],
"content": "So, nsiteBeats is trying to fetch data from the Podcast Index but is failing because it doesn’t have auth keys. We could get auth keys and hard code then in the static file, but then they’re visible for all to see. Not necessarily a bad thing, but if abused, the keys get revoked. There’s browser plugins that are doing it this way. I’m trying to think of a way nsiteBeats could make a call to an API and the API can say, yeah, I approve traffic from any site with that npub, here’s your data.",
"sig": "f690260e56ee3b398e90677c5e81c46a0d2b566af166c9de6d10bd43f84664d823453d0365093918c07e32fecd1d3fbb001ec43029ef0eb7e27b3ebaadad8ac6"
}