How to use proxy - mgp25/SC-API GitHub Wiki
mitmproxy
Installing mitmproxy
pip install mitmproxy
Installing certificate in your device (iOS / Android)
In OS X, certificate its in the following path:
~/.mitmproxy

Im going to use mitmproxy-ca-cert.cer
Send it by email to your device (iOS), open it and install it:



If you are going to use android device, transfer your cert to your external SD card.
Go to Settings -> Security -> Credential Storage, and select "Install from storage":



Using mitmproxy (sniffing auth_token from device)
Run mitmproxy in your computer:
mitmproxy
In your device, set a proxy to your computers IP at port 8080
Now we open Snapchat, and we will see all requests in mitmproxy:


Press Tab to go to Response
And search for auth_token
Note: In iPhone we are still researching for getting its auth and token.
Once you have the auth_token (from an android device). You can create a file in Snap-API/src folder called auth-<Your Username>.dat. And you can log in to your account directly.