Added GraphQL requests

This commit is contained in:
Mads Marquart
2017-06-22 22:38:15 +02:00
parent c81d7d2bfb
commit 11e59e023c
12 changed files with 564 additions and 202 deletions

View File

@@ -5,8 +5,8 @@ from fbchat.models import *
client = Client('<email>', '<password>')
print('Own id: {}'.format(client.id))
print('Own id: {}'.format(client.uid))
client.sendMessage('Hi me!', thread_id=self.id, thread_type=ThreadType.USER)
client.sendMessage('Hi me!', thread_id=client.uid, thread_type=ThreadType.USER)
client.logout()