mgp25 / SC-API

Snapchat’s private API
MIT License
334 stars 103 forks source link

Login Problem using Casper API #241

Closed kripsbro closed 9 years ago

kripsbro commented 9 years ago

[message] => 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 :) [status] => -103 [logged] =>

hako commented 9 years ago

It works on my end, could you please try again? If the error still persists, please submit a debug log.

kripsbro commented 9 years ago

REQUEST TO: https://feelinsonice-hrd.appspot.com/loq/device_id

Sent Request info: POST /loq/deviceid HTTP/1.1 User-Agent: Snapchat/9.16.2.0 (HTC One; Android 5.0.2#482424.2#21; gzip) Host: feelinsonice-hrd.appspot.com Accept: /_ Accept-Language: en Accept-Locale: en_US X-Snapchat-Client-Auth-Token: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjZhMWJkYjlkZjVkMTAxZDg0NDI1NWE3MGQ1MzI2NTNhMzAxNDUwMDQifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwiYXVkIjoiNjk0ODkzOTc5MzI5LWw1OWYzcGhsNDJldDljbHBvbzI5NmQ4cmFxb2xqbDZwLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTE4MTczNjg4MTk4MDkzMTIxMzU0IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF6cCI6IjY5NDg5Mzk3OTMyOS1xZzBpMHU4OHQwaG04azZrMW1icmJuc3VqMTAxaDczdi5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImVtYWlsIjoibGFzZGthc3Frd3dxa2VAZ21haWwuY29tIiwiaWF0IjoxNDQ1NzE1OTczLCJleHAiOjE0NDU3MTk1NzN9.Yr1CCx1ZcuSVvNUklSNJCNW7YU_CwqA-lNHT_ErMLE5-rgq-Q_rQLfeoQxRMoF9LNv4wCHuz7RjKxpm-k0NnIUvobmA6qqhy5udCq4fzd3ylGRDhEe_s3CwiUlmxJmesx1IflBUV5eWpeWsPhWEd-2D4QaEKmlZbWg9rBLMiLFl8OYAWyHstYNiFbKWnzr5O3MniicjKh8qghO_3J_mQVwB2PeC22v1Zfabb7hPpqnCdGotP5jd2dHAWFNnr2iLpp4Hh9NjXpSyNMfZgQOQNGfvfu0kkTzjf1xWyEluqUts-97XIi0K07puQVOiWdCZm7PKIlAJB124FYoe3-VlEog Content-Length: 98 Content-Type: application/x-www-form-urlencoded

DATA: timestamp=1445715988437&req_token=9305b158d4e1b7386ee50aeff4ad878412e14d841935ca8e29b49d14d4c5125b RESULT: {"dtoken1i":"00001:C9729/CPTHOkGeqYd7A9pTBkgwL6UpqxIJhCn4MpxKWlN7go7g2o7HH2n8kULRwA","dtoken1v":"7y59rd2gwZCmSo5mrZT5KfSuxnMFgmyJChBwAMrwlaY\u003d"}

REQUEST TO: https://android.clients.google.com/auth Array ( [device_country] => us [operatorCountry] => us [lang] => en_US [sdk_version] => 19 [google_play_services_version] => 7097038 [accountType] => HOSTED_OR_GOOGLE [Email] => lasdkasqkwwqke@gmail.com [service] => audience:server:client_id:694893979329-l59f3phl42et9clpoo296d8raqoljl6p.apps.googleusercontent.com [source] => android [androidId] => 378c184c6070c26c [app] => com.snapchat.android [client_sig] => 49f6badb81d89a9e38d65de76f09355071bd67e7 [callerPkg] => com.snapchat.android [callerSig] => 49f6badb81d89a9e38d65de76f09355071bd67e7 [EncryptedPasswd] => AFcb4KR8QmuDMe1bZhK6oS5iTtUIP9XUgLu7is6X-pNngfFNyqbEtdOmGw6eCrup5Ii6UctbZxNUFKD5PmNYxqs762b0_iwHonkFf_Nv3nc8-GYD28LpqohOyLhrm5XyXDWIFfwX7dHpHmPc3X5sEb417b7NS90sMib7glgskv8x-Pqxfw== ) DATA: 1 RESULT: Auth=eyJhbGciOiJSUzI1NiIsImtpZCI6IjZhMWJkYjlkZjVkMTAxZDg0NDI1NWE3MGQ1MzI2NTNhMzAxNDUwMDQifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwiYXVkIjoiNjk0ODkzOTc5MzI5LWw1OWYzcGhsNDJldDljbHBvbzI5NmQ4cmFxb2xqbDZwLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTE4MTczNjg4MTk4MDkzMTIxMzU0IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF6cCI6IjY5NDg5Mzk3OTMyOS1xZzBpMHU4OHQwaG04azZrMW1icmJuc3VqMTAxaDczdi5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImVtYWlsIjoibGFzZGthc3Frd3dxa2VAZ21haWwuY29tIiwiaWF0IjoxNDQ1NzE1OTg4LCJleHAiOjE0NDU3MTk1ODh9.C_YFuL3bLuabaDvPLpBpFbmNduzQAx2STH9IFlk8RSjbi5MfDdknQpfpb1ePA-klfpnAyoyB1jOh6iqh2CNomcmd2ztMjRgXVloDoBG62ZL3umRAPtiBCEuRTs2L_e1jVQpoOcNFA8PUqddzQMH82UAcJoIyeTgjVCMHbOgERYfntnrZT7vu6OIuvwKiJMLkPSiKmScJZpqFmKfUuUHsQxZd5-VVWCkJROgKubsOg-eQKzv6YneMaATU9LFXFuvNLKdHDLvLhnEqMTgXRZJGeDhNnIT5a-8iS9OEIeQexbx4ILWmHKmZW4IL5UrH--9qEeuSGbQ-r15RDVvEa2txDA issueAdvice=auto Expiry=1445719588 storeConsentRemotely=1

REQUEST TO: https://feelinsonice-hrd.appspot.com/loq/login

Sent Request info: POST /loq/login HTTP/1.1 User-Agent: Snapchat/9.16.2.0 (HTC One; Android 5.0.2#482424.2#21; gzip) Host: feelinsonice-hrd.appspot.com Accept: / Accept-Language: en Accept-Locale: en_US X-Snapchat-Client-Auth-Token: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjZhMWJkYjlkZjVkMTAxZDg0NDI1NWE3MGQ1MzI2NTNhMzAxNDUwMDQifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwiYXVkIjoiNjk0ODkzOTc5MzI5LWw1OWYzcGhsNDJldDljbHBvbzI5NmQ4cmFxb2xqbDZwLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTE4MTczNjg4MTk4MDkzMTIxMzU0IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF6cCI6IjY5NDg5Mzk3OTMyOS1xZzBpMHU4OHQwaG04azZrMW1icmJuc3VqMTAxaDczdi5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImVtYWlsIjoibGFzZGthc3Frd3dxa2VAZ21haWwuY29tIiwiaWF0IjoxNDQ1NzE1OTg4LCJleHAiOjE0NDU3MTk1ODh9.C_YFuL3bLuabaDvPLpBpFbmNduzQAx2STH9IFlk8RSjbi5MfDdknQpfpb1ePA-klfpnAyoyB1jOh6iqh2CNomcmd2ztMjRgXVloDoBG62ZL3umRAPtiBCEuRTs2L_e1jVQpoOcNFA8PUqddzQMH82UAcJoIyeTgjVCMHbOgERYfntnrZT7vu6OIuvwKiJMLkPSiKmScJZpqFmKfUuUHsQxZd5-VVWCkJROgKubsOg-eQKzv6YneMaATU9LFXFuvNLKdHDLvLhnEqMTgXRZJGeDhNnIT5a-8iS9OEIeQexbx4ILWmHKmZW4IL5UrH--9qEeuSGbQ-r15RDVvEa2txDA X-Snapchat-Client-Auth: v1:79ae1c567c5fc557ffe2a0ca:3e8b029a69a8199a29c11785025e89005910e27e071d486f8c8fcbb474da2da69f96cb8a3197e76ca4176cd0f501705d11efb45a747a0d93a8955472e24cd0473fb79fdf030b28c540e3b483f6b4be18befd7b9ce37a46f0786d96fe53488bf01a174465a2f1ad695a9db72ca72a75dab55c272f983d5fe24841dc0b4922d589fa05 Accept-Encoding: gzip Content-Length: 5041 Content-Type: application/x-www-form-urlencoded Expect: 100-continue

DATA: username=jonatan.ive&password=123456cat&height=1280&width=720&max_video_height=640&max_video_width=480&dsig=b281e1bfecf87e341472&dtoken1i=00001%3AC9729%2FCPTHOkGeqYd7A9pTBkgwL6UpqxIJhCn4MpxKWlN7go7g2o7HH2n8kULR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pbGVNYXRjaCI6ZmFsc2UsImV4dGVuc2lvbiI6IkNSY0FKYm1YWVdlSiIsImFwa0NlcnRpZmljYXRlRGlnZXN0U2hhMjU2IjpbIkx4eXEvS0h0TU5DMDQ0aGo3dnErb09nVmNSK2t6M200SWxHYWdsblpXbGc9Il19.ZkQ6F9098ZHNyr_yKZEL9Y-4nOCqugUT8KiM5cDRXKLjIOORoDRU3O4f-7xkO8uS1W-YXPaMeBcYI0IQjPvxtPzzcjnO82txAwRQtOheVTptUATLDkEY-eBVUAZKMkqYpnrZPPug3hO89kqwmRUfEWXtZaabiYwg9zJaS-eDdO2ftnd9fIi9xg_nj0cAk-x1ausIPom5zJn4GfpEJfH099QkpbQz2unDT_r_b94B5E0DQuJSfyhVLlevl3kiOAePFHc5sPg5slNepdBqnZz4Sn0MVu8h43CGNgVlF6Be0H3A4NZQKbD81NIlNif5GCq6wzsS-4vVZJbKkRGxqAeUHg&sflag=1&application_id=com.snapchat.android&req_token=930ebb5f6c51de086e0ed2e7f2a0d4143aef4d86198bba8b19b4e014dfc51b4b stdClass Object ( [message] => 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 :) [status] => -103 [logged] => ) RESULT: 1

mgp25 commented 9 years ago

@kripsbro Casper API it's working good. Make sure your data is correct. And try again.

Regards