Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
timestamp fix
Browse files Browse the repository at this point in the history
Fixes #212
  • Loading branch information
mgp25 committed Sep 23, 2015
1 parent 5dcce35 commit 4c85707
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/snapchat.php
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,6 @@ public function sendMessage($tos, $text)
}
if(count($messagesArray) <= 0) return null;
$messages = json_encode($messagesArray);
$timestamp = parent::timestamp();
$result = parent::post(
'/loq/conversation_post_messages',
array(
Expand Down Expand Up @@ -2547,8 +2546,8 @@ public function deleteStory($storyId)
'/bq/delete_story',
array(
'story_id' => $storyId,
'username' => $this->username,
'timestamp' => $timestamp
'username' => $this->username,
'timestamp' => $timestamp
),
array(
$this->auth_token,
Expand Down

0 comments on commit 4c85707

Please sign in to comment.