-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore Token Not Working? #28
Comments
It's always worked for me. If something logs out, I just login with Casper and use the auth_token from that. Has happened a few times before. Not too sure why you're seeing this error. |
Hmmm are you currently able to log in with a Casper token? Like I said i've noticed even the generated Casper token can only be used to log in once. If I close the app, reopen and attempt to log in with the given auth token I get a login error. I'll quickly try registering a new snapchat account/gmail account to see if one of my accounts are flagged. Same issue with a brand new snapchat account and gmail account. Here's the script i'm using. from snapy import Snapchat
username = 'myusername'
auth_token = 'auth_str'
gmail = '[email protected]'
gpasswd = 'mypass'
s = Snapchat()
s.restore_token(username, auth_token, gmail, gpasswd)
s.get_updates() Any thoughts? |
This is probably due to you google account being blocked and snapy being unable to get a token. Did you try to run this in a server? |
Like i've said, i've tried with brand new google accounts and a brand new snapchat account. Additionally, it's the same google account i'm using to log in with in casper. I've tried this on an OVH VPS. I'm fairly certain this has something to do with the update message for Casper 1.5.2.2 |
I'm having the same troubles as @trockwell786 with the 401 Client Error. |
I'm wondering if anyone else is able to use the restore_token method to send snapchat requests. I've tried using an auth_token generated by Casper in an android virtual device as well as dumping the token from an iPhone backup. Unfortunately my request always returns a 401:
I'd be surprised if I were IP banned considering i'm using my personal IP that connects fine on my iPhone. I've also tried two seperate google accounts. The first has worked to log in prior, the second freshly created. I've noticed I cannot re-log into Casper using the auth token it generates.
Thanks.
The text was updated successfully, but these errors were encountered: