Closed bram1253 closed 7 years ago
ROBLOX will redirect you to an error page if for some reason your follow request fails. When you log in to the account manually and try to follow the person does it work?
Just tried and it gave me a captcha. After solving the captcha the NodeJS code worked perfectly...
Ok then the problem here is ROBLOX is now adding captchas even to following in order to prevent bots. If you use following frequently you will continue to get these errors and have no way to get around them. Consider what you are doing, ROBLOX will only put captcha on things it doesn’t want people to bot.
Code:
Error:
After checking what causes this I found out that the following if statement was not return true:
if (res.statusCode === 200) {
After printing out the statusCode I found out that ROBLOX is actually returning statuscode 302 when statuscode 200 is expected.