From 24a4c6c5547bc39146227d2c56d534e02f004c07 Mon Sep 17 00:00:00 2001 From: Daniel Cepeda Date: Wed, 26 Oct 2016 14:19:14 -0700 Subject: [PATCH] need to provide clientid to request --- fbchat/client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index 777de09..17af9f6 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -462,7 +462,10 @@ class Client(object): newer api needs these parameter to work. ''' - data = {"msgs_recv": 0} + data = { + "msgs_recv": 0, + "clientid": self.client_id + } r = self._get(StickyURL, data) j = get_json(r.text)