noahcoolboy / funcaptcha

A library used to interact with funcaptchas.
Other
186 stars 43 forks source link

how would i go about actually getting the captcha token? #8

Closed brandonapt closed 2 years ago

brandonapt commented 2 years ago

im successfully sending the roblox funcaptcha and displaying it on a website and solving it, but how would i get the actual captcha token to provide to the login API? Sorry if this is a dumb question and is easier hen i thought!

brandonapt commented 2 years ago

closed, im dumb lol,

brandonapt commented 2 years ago

reopened, as im still confused on how.

noahcoolboy commented 2 years ago

getToken returns an object (a GetTokenResult interface if you're using typescript) It has a property called token, which is a string

If you instead want to get the token from the session, you can use the Session.token property

brandonapt commented 2 years ago

thanks! i appreciate the help. also, your docs return a 404 when clicking on the globals.