Closed kripsbro closed 9 years ago
Hi, are you using the most recent version of this library? We pushed some changes earlier.
Yes i used last https://github.com/mgp25/SC-API
please try a different gmail
With another gmail i get
Accept-Encoding: gzip DATA: username=jonatan.ive&password=123456cat&height=1280&width=720&max_video_height=640&max_video_width=480&dsig=3452e18712b360d63dca&dtoken1i=00001%3A5r%2Bh8GEYS3WIzQcbTa8ud0txr3RwkvJ1iFi%2FdRS1w9pu3UT0Ch0gwqnS0LVoLu41&ptoken=ie×tamp=1444502751752&attestation=eyJhbGciOiJSUzI1NiIsIng1YyI6WyJNSUlFZmpDQ0EyYWdBd0lCQWdJSVZaeDlNZDVhb3JVd0RRWUpLb1pJaHZjTkFRRUxCUUF3U1RFTE1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBb1RDa2R2YjJkc1pTQkpibU14SlRBakJnTlZCQU1USEVkdmIyZHNaU0JKYm5SbGNtNWxkQ0JCZFhSb2IzSnBkSGtnUnpJd0hoY05NVFV3T0RNeE1qQXpOalE0V2hjTk1UWXdPRE13TURBd01EQXdXakJzTVFzd0NRWURWUVFHRXdKVlV6RVRNQkVHQTFVRUNBd0tRMkZzYVdadmNtNXBZVEVXTUJRR0ExVUVCd3dOVFc5MWJuUmhhVzRnVm1sbGR6RVRNQkVHQTFVRUNnd0tSMjl2WjJ4bElFbHVZekViTUJrR0ExVUVBd3dTWVhSMFpYTjBMbUZ1WkhKdmFXUXVZMjl0TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUEzaWpVemNKOHl3NmhlYnpiQTRYbDJsOTM0dG96SFYyNWdJZ2VMNnU0eWVNNE4yMTh4WitPMWhkelBLbmR6bjArc1VuUHNTekl6SWZiMzV3Nk9xRDlxLysydlk5OUN3T2c0RXF2QXU2OTV1ZjVibzFjNk4rcHpNOWRWMDZIR3dSdUUxUE1OY2Y4Y01CUEJDZy9jWmo2bUlsbFdGVXFERlFmVE5tL25vU0lucmg2WUpUOWhvd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E9IVTRYM0J1bGRoUEhJdnVVVDRoMlJOOXhVaTJXakI0Znc9IiwidGltZXN0YW1wTXMiOjE0NDQ1MDI3NTYyODQsImFwa1BhY2thZ2VOYW1lIjoiY29tLnNuYXBjaGF0LmFuZHJvaWQiLCJhcGtEaWdlc3RTaGEyNTYiOiJ3eUkxZ1dMS1MxMkZyQjBZMGJ4TzVtMktVQXl0ZER4UnprUmRwbUpTMXpNPSIsImN0c1Byb2ZpbGVNYXRjaCI6ZmFsc2UsImV4dGVuc2lvbiI6IkNmcWtoU1dEYjQzbCIsImFwa0NlcnRpZmljYXRlRGlnZXN0U2hhMjU2IjpbIkx4eXEvS0h0TU5DMDQ0aGo3dnErb09nVmNSK2t6M200SWxHYWdsblpXbGc9Il19.rnpWKu8a9KwiOVaDQO_c18yiIRnmLnfCJ_DgLyjEK7GA16ClhpPxuLSBD0kcymRlkWXdMlkpE6_kyJwgq33BruAr_0c_mPhV-4b77glaqrWF5jIrX1BKvvZnUp9yfUaQv4vZKVExX7HAfwO00nWKDiOZY9mi_brB6i8BI-7HzMOI9wdNHfwyy0DIhGroeHtHPiqIdWy7VBrvyUoQRlpZt0J52FqxYQH1cbSo1IO6eeW_RX7wQJyzhIqaHtEmqMlgpkjjnEav6bwpNj3P0TZki-hDDjp6OXcrQ5xYfgFjKlTz0SKqw85lnhFCclmKvHSHjb0hRnY9zlqHR_jQziMNRg&sflag=1&application_id=com.snapchat.android&req_token=930d8f5b6841afd86e0a86eefda3d1747bed4d81198d1a8599b4ce14d6c510eb RESULT: 1 Warning: First parameter must either be an object or the name of an existing class in /home/u909049881/public_html/src/snapchat_agent.php on line 443
proxy is probably banned
how maximum request a can make until SnapChat will block my ip ?
it's not a maximum request thing. it's probably the IP is blacklisted
I get the same long error as posted by kripsbro but only when I use one snapchat account, when I use another snapchat account it logs in just fine.
Nevermind, I used a different IP and then both accounts could login. I just find it weird that even if the IP was blacklisted how could one account still login while another couldn't?
you had the auth already...
@devinwendt of course, the ip is blocked for a certain account, not for all account in the ip. I have the same problem, can’t figure out how to get unblocked though. Tried VPNs, DHCPs and othe Dynamic ips, no success.
On 3/11/2015, at 21:16, Devin Wendt notifications@github.com wrote:
I get the same long error as posted by kripsbro but only when I use one snapchat account, when I use another snapchat account it logs in just fine.
— Reply to this email directly or view it on GitHub https://github.com/mgp25/SC-API/issues/222#issuecomment-153531309.
Pilo Basualdo
@mgp25 It can't be that I had the auth already considering I tried with and without deleting the auth file. The problem is still persisting with only one account working and the other not being able to login. Considering I tried on 2 different machines with different IP addresses with and without various IP anonymizers, are we even sure they are blocking through IP? I ran the bot from a chroot on my phone and it couldn't login but when I used the casper app it could(both using same IP). Forgive me if I'm just being an idiot, but is it possible they ban by device code from the user-agent for specific accounts?
Check the username and password is correct, sounds silly but I had that issue a while ago.
It's definitely not a username password issue either. I find it confusing how snapchat can use a simple IP ban that only works on this PHP script. The account works fine using the same IP from either the casper or snapchat app. I only suspect it to be a user-agent thing because I am guessing that the script sends in as an HTC one and the apps send in as a galaxy S5
Oh no! Your login temporarily failed, so please try again later. If your login continues to fail, please visit https://support.snapchat.com/a/failed-login + used proxy server 89.28.121.179:8080