diff --git a/src/snapchat.php b/src/snapchat.php index 3153d3b..14901a3 100644 --- a/src/snapchat.php +++ b/src/snapchat.php @@ -479,6 +479,8 @@ public function logout() public function register($username, $password, $email, $birthday, $phone_verification = FALSE, $phone_number = NULL) { $timestamp = parent::timestamp(); + $req_token = parent::hash(parent::STATIC_TOKEN, $timestamp); + $string = $this->username . "|" . $password . "|" . $timestamp . "|" . $req_token; $dtoken = $this->getDeviceToken();