What EXACTLY are the cookies I need to get a Replit user's data?
Okay so here's what I've got going on:
I have a project that will need to grab a user's profile picture given only their username. This can supposedly be done with https://replit.com/data/profiles/USERNAME/. I have verified that this does indeed work on my browser, but attempting to fetch something through this URL with Node gives me 403 Forbidden errors.
I've been told that I need to set the
connect.sid cookie in order for me to do anything with this URL, but
doesn't change things.
What else would I need to get contents from /data/profiles?
and you have to actually go to your cookies and copy your connect.sid
So it becomes roughly:
yeah you need the other 2 and that's it. The replit errors should help you
@Coder100 I'm using node-fetch, and according to the documentation it's just
cookie. Are you sure?
Also, in mat1's API, he was able to set the sid to Python's
None, which is why I left it empty. Adding my personal sid didn't work when I tried it. I also added those other header fields and they didn't work when I tried them. I'll give them another go to see if something's changed though.
it works for me on python (bc python good) maybe I can make an API that fetches data from another API
alright, its done