Hello!
I’m making some things with API and I’m wondering how would I do some stuff without the actual module (Python) using just Roblox’s API.
I’m making a bot that makes group wall posts. The module that I’m using doesn’t have that feature so I’m wondering how would I do that on my own.
How would I include that cookie (aka. Roblox account) with this: https://api.roblox.com/v1/groups/1/wall/posts
If I do that: robloxCookie = {"cookies"="abc123"} dataToSend = {"body":"testing"} data = requests.post(url, data=dataToSend, cookies=robloxCookie),
I get error 401
For things, that you want to stay there for longer (as a changelog for example and a channel on Discord at the same time) as shout is removed as soon as there’s another one.
Thank you for that code, but it doesn’t seem to be working (even if I added commas and fixed .ROBLOXSECURITY). I also added csrf token in headers.
Second thing, how would I make it show me response (401,403,…)?
If I use a cookie for logging into a ranking bot, will the cookie get reset if it’s used every day? Or will I need to log into the bot and get a new token every so often?
Please do not bump topics with off-topic questions.
.ROBLOSECURITY token is valid for a long time. Can’t really specify how long exactly, but for sure longer than few months. It is possible that it doesn’t even expire unless you enter the bot account manually and log out.