(cookie is a variable set to the ROBLOSECURITY value)
If anyone knows a way to authenticate using something other than superagent that would be appreciated as well, I have tried other methods and have gotten data correctly from other websites using those other methods, but I can’t on Roblox because I’m not sure how to authenticate these requests.
I went ahead and installed superagent and the code you have seems to work for me. I tested it with two different accounts. Is it possible you’re setting cookie to the wrong value?
I am using the ROBLOSECURITY starting with the do not share warning. I’m not using the RBXID cookie which seems similar. I’ll try it in a smaller program and also with another account to see if it fixes the issue.