Skip to content

Instantly share code, notes, and snippets.

@kevinpiac
Created September 2, 2017 11:39
Show Gist options
  • Save kevinpiac/bfde52fee744446880379e43a794b683 to your computer and use it in GitHub Desktop.
Save kevinpiac/bfde52fee744446880379e43a794b683 to your computer and use it in GitHub Desktop.
>>>> BEGIN - [SCAPI URLRequestWithEndpoint]
------------
endpoint: /loq/login
param: {
"from_deeplink" = false;
"hashed_out_alphas" = "[]";
height = 1334;
password = Password;
"pre_auth_token" = "";
"reactivation_confirmed" = false;
"remember_device" = true;
"screen_height_in" = "4.1";
"screen_height_px" = 667;
"screen_width_in" = "2.3";
"screen_width_px" = 375;
username = kevinpiac;
width = 750;
}
uploadData: (null)
additionalHTTPHeaders: {
Accept = "application/json";
}
method:1
authenticated1
------------
>>>> BEGIN - [SCAPI _buildRequestParamForEndpoint]
------------
params: endpoint:/loq/login, params:{
"from_deeplink" = false;
"hashed_out_alphas" = "[]";
height = 1334;
password = Password;
"pre_auth_token" = "";
"reactivation_confirmed" = false;
"remember_device" = true;
"screen_height_in" = "4.1";
"screen_height_px" = 667;
"screen_width_in" = "2.3";
"screen_width_px" = 375;
username = kevinpiac;
width = 750;
}, authenticated1
------------
>>>> BEGIN - [SCAPI getParamDictionary]
------------
ret value: {
dsig = 4140C9460C70BCBDB997;
dtoken1i = "00001:Ck1VX3nWRAiDn3uTPYriU1yobSVV5EP5oVofPlcgF/e9ZZhuFcmIk4kYaqbZYLJm";
"from_deeplink" = false;
"hashed_out_alphas" = "[]";
height = 1334;
password = Password;
"pre_auth_token" = "";
"reactivation_confirmed" = false;
"remember_device" = true;
"req_token" = 93096556c501c3986e8b59eefaa5800446eb4d85194fca8c29b40414dfc51fdb;
"screen_height_in" = "4.1";
"screen_height_px" = 667;
"screen_width_in" = "2.3";
"screen_width_px" = 375;
timestamp = 1504352016623;
username = kevinpiac;
width = 750;
}
------------
<<<< END - [SCAPI getParamDictionary]
------------
ret value: {
dsig = 4140C9460C70BCBDB997;
dtoken1i = "00001:Ck1VX3nWRAiDn3uTPYriU1yobSVV5EP5oVofPlcgF/e9ZZhuFcmIk4kYaqbZYLJm";
"from_deeplink" = false;
"hashed_out_alphas" = "[]";
height = 1334;
password = Password;
"pre_auth_token" = "";
"reactivation_confirmed" = false;
"remember_device" = true;
"req_token" = 93096556c501c3986e8b59eefaa5800446eb4d85194fca8c29b40414dfc51fdb;
"screen_height_in" = "4.1";
"screen_height_px" = 667;
"screen_width_in" = "2.3";
"screen_width_px" = 375;
timestamp = 1504352016623;
username = kevinpiac;
width = 750;
}
------------
<<<< END - [SCAPI _buildRequestParamForEndpoint]
------------
>>>> BEGIN - [SCAPIClient sharedClient]
------------
ret value: <SCAPIClient: 0x135956140, baseURL: https://app.snapchat.com, defaultHeaders: {
"Accept-Encoding" = gzip;
"Accept-Language" = "fr-FR;q=1, en-US;q=0.9, pt-BR;q=0.8";
"Accept-Locale" = "fr_FR";
"User-Agent" = "Snapchat/10.1.1.2 (iPhone7,2; iOS 9.3.2; gzip)";
}, registeredOperationClasses: (
), operationQueue: <NSOperationQueue: 0x135a43410>{name = 'NSOperationQueue 0x135a43410'}>
------------
<<<< END - [SCAPIClient sharedClient]
------------
>>>> BEGIN - [SCAPI stringForMethod]
------------
ret value: POST
------------
<<<< END - [SCAPI stringForMethod]
------------
>>>> BEGIN - [SCAPIClient requestWithMethod]
------------
params: method:POST, path:/loq/login, params{
dsig = 4140C9460C70BCBDB997;
dtoken1i = "00001:Ck1VX3nWRAiDn3uTPYriU1yobSVV5EP5oVofPlcgF/e9ZZhuFcmIk4kYaqbZYLJm";
"from_deeplink" = false;
"hashed_out_alphas" = "[]";
height = 1334;
password = Password;
"pre_auth_token" = "";
"reactivation_confirmed" = false;
"remember_device" = true;
"req_token" = 93096556c501c3986e8b59eefaa5800446eb4d85194fca8c29b40414dfc51fdb;
"screen_height_in" = "4.1";
"screen_height_px" = 667;
"screen_width_in" = "2.3";
"screen_width_px" = 375;
timestamp = 1504352016623;
username = kevinpiac;
width = 750;
}
------------
>>>> BEGIN - [SCAPIClient authenticateRequest]
------------
<<<< END - [SCAPIClient authenticateRequest]
------------
ret value: <NSMutableURLRequest: 0x135e81180> { URL: https://app.snapchat.com/loq/login }
------------
<<<< END - [SCAPIClient requestWithMethod]
------------
ret value: <NSMutableURLRequest: 0x135e81180> { URL: https://app.snapchat.com/loq/login }
------------
<<<< END - [SCAPI URLRequestWithEndpoint]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment