This repository was archived by the owner on May 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
loq login
Liam Jack edited this page Aug 21, 2015
·
3 revisions
/loq/login
Used to authenticate with the API
-
application_id:com.snapchat.android -
attestation: Google SafetyNet attestation -
dsig: SHA-256 HMAC of[USERNAME]|[PASSWORD]|[TIMESTAMP]|[REQ_TOKEN]withdtoken1vobtained with/loq/device_id, cut down to 20 characters. -
dtoken1i: Obtained with/loq/device_id -
height: Screen height (Example:1280) -
width: Screen width (Example:720) -
max_video_height: (Example:640) -
max_video_width: (Example:480) -
ptoken: Google Cloud Messaging token -
sflag:1if the device is rooted,0if not. -
username: Snapchat username -
password: Snapchat password timestampreq_token
The response is incredibly long and will be documented when I have the courage to, which is not today
substr(hash_hmac('sha256', $username . "|" . $password . "|" . $timestamp . "|" . $req_token, $dtoken1v), 0, 20);