From 2a0685b52e53ec9593c17d4763b76b5b4bd9dc5a Mon Sep 17 00:00:00 2001 From: mgp25 Date: Sat, 25 Jul 2015 11:16:47 +0200 Subject: [PATCH] getConversation initialize offset --- src/snapchat.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/snapchat.php b/src/snapchat.php index 4597bec..4dd9b13 100644 --- a/src/snapchat.php +++ b/src/snapchat.php @@ -873,6 +873,7 @@ public function sendMessage($tos, $text){ public function getConversations() { + $offset = null; $updates = $this->getUpdates(); $last = end($updates['data']->conversations_response); if (isset($last->iter_token))