From bf1cdec4d09ae0306879cd71ac0eaf84c2932516 Mon Sep 17 00:00:00 2001 From: wannaphongcom Date: Fri, 16 Oct 2015 12:05:56 +0700 Subject: [PATCH] Update client.py --- fbchat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index d7b7005..e27706f 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -193,7 +193,7 @@ class Client(object): 'message_batch[0][has_attachment]' : False } - r = self._post("https://www.facebook.com/ajax/mercury/send_messages.php", form) + r = self._post("https://www.facebook.com/ajax/mercury/send_messages.php", data) return r.ok def getThreadList(self, start, end=None):