Merge pull request #265 from 2FWAH/fix-fetchThreadList-archived

Fix ThreadLocation to work with new GraphQL and archived threads
This commit is contained in:
Taehoon Kim
2018-03-03 22:22:21 +09:00
committed by GitHub

View File

@@ -754,7 +754,7 @@ class Client(object):
return list(reversed([graphql_to_message(message) for message in j['message_thread']['messages']['nodes']]))
def fetchThreadList(self, offset=0, limit=20, thread_location=ThreadLocation.INBOX, before=None):
def fetchThreadList(self, offset=None, limit=20, thread_location=ThreadLocation.INBOX, before=None):
"""Get thread list of your facebook account
:param offset: Deprecated. Do not use!