Commit Graph

330 Commits

Author SHA1 Message Date
Taehoon Kim
641217f623 Merge pull request #71 from vlegoff/logging
Add a logger (from 'logging') to log events.
2017-01-30 21:48:07 +09:00
Taehoon Kim
e723039e41 Merge branch 'master' into logging 2017-01-30 21:47:53 +09:00
Taehoon Kim
5d1495cfd8 Merge pull request #73 from dcep93/fix_get_sticky
need to provide clientid to request
2017-01-30 21:43:53 +09:00
Taehoon Kim
353c1b7517 Merge branch 'master' into fix_get_sticky 2017-01-30 21:43:47 +09:00
Taehoon Kim
c8583114f0 Merge pull request #74 from dcep93/fix_thread_fbid
other_user_fbid logic was wrong
2017-01-30 21:43:17 +09:00
Taehoon Kim
21f1dbd47f Merge pull request #75 from dcep93/enable_friend_request_accept
friend_connect and the like
2017-01-30 21:43:02 +09:00
Taehoon Kim
d77e817383 Merge branch 'master' into enable_friend_request_accept 2017-01-30 21:42:56 +09:00
Taehoon Kim
f80ee7477a Merge pull request #77 from madsmtm/patch-1
Fixed _getSticky
2017-01-30 21:42:27 +09:00
Taehoon Kim
c3b5f4ddc5 Merge pull request #87 from MKolman/python3-patch
Fixes the issue #60 for Python3
2017-01-30 21:42:14 +09:00
Taehoon Kim
f286e420b5 Merge branch 'master' into python3-patch 2017-01-30 21:42:08 +09:00
Taehoon Kim
629b86ef70 Merge pull request #80 from sskender/master
Update client.py to kick chat participants, rename threads
2017-01-30 21:41:13 +09:00
Taehoon Kim
72a8139d77 Merge branch 'master' into master 2017-01-30 21:41:06 +09:00
Taehoon Kim
327956c69e Merge pull request #89 from JohnathonNow/group-thread-info
Added support for group threds in getThreadInfo
2017-01-30 21:40:15 +09:00
Taehoon Kim
d68f0104f9 Merge pull request #93 from Bankde/add_safe_logout
Add logout feature
2017-01-30 21:40:02 +09:00
Bankde@hotmail.com
8400fd1be0 Add logout feature 2017-01-18 19:55:46 +07:00
John Westhoff
932bde4f9f Added support for group threds in getThreadInfo 2016-12-29 13:12:17 -05:00
Maks Kolman
c7534ec32b In python3 a bytes object needs to be decoded after image upload 2016-12-16 17:09:56 +01:00
Sven Skender
0f1bb94a7f Update client.py 2016-12-10 21:28:05 +01:00
Sven Skender
26444104be Update client.py to kick chat participants
remove_user_from_chat(threadID, userID)
2016-11-12 19:49:07 +01:00
Mads T Marquart
62c5ae7932 Fixed _getSticky
Facebook now requires channel and clientid to be passed when requesting a sticky pool.
2016-11-03 19:16:58 +01:00
Daniel Cepeda
5067995db4 friend_connect and the like 2016-10-26 14:33:48 -07:00
Daniel Cepeda
02db720813 other_user_fbid logic was wrong 2016-10-26 14:26:42 -07:00
Daniel Cepeda
24a4c6c554 need to provide clientid to request 2016-10-26 14:19:14 -07:00
Vincent Le Goff
f07b4eeaef Add a logger (from 'logging') to log events.
This can be configured externally, to be decided by the developer.
Remove 'print's and calls to the 'Client._console' method.
2016-10-24 15:00:33 -07:00
Andrey E. Antipov
174ee53858 Update client.py to post to groups (Issue #63)
Jut followed the recipe in the issue
2016-10-11 07:43:29 -07:00
Taehoon Kim
65fbb77451 version update thanks to @thekindlyone from 0.4.0 to 0.5.0 2016-09-22 22:35:52 +09:00
Taehoon Kim
f5312ec8f1 Merge pull request #61 from thekindlyone/iss60
Iss60
2016-09-22 22:33:07 +09:00
Taehoon Kim
0cea31fda1 Merge pull request #56 from thekindlyone/master
Fixed #55 , send fail due to api change.
2016-09-22 22:32:58 +09:00
thekindlyone
b4e3b1aca3 getUserInfo fixed for py3 2016-09-01 18:57:00 +05:30
thekindlyone
b3512fcebd fixed #60 2016-08-31 03:40:13 +05:30
thekindlyone
1a5adb5e38 issue #58, retry login feature added 2016-08-30 13:51:43 +05:30
thekindlyone
73e6ed7959 readme for send image 2016-08-30 08:44:25 +05:30
thekindlyone
b0c64fad5e send image fixed 2016-08-30 08:34:54 +05:30
thekindlyone
f71b3db178 added getUserInfo example in readme 2016-08-29 15:37:01 +05:30
thekindlyone
21b38c01eb improved getUserInfo to return list of results or single value 2016-08-29 15:35:19 +05:30
thekindlyone
0ac43549ed improved getUserInfo to return list of results 2016-08-29 15:25:42 +05:30
thekindlyone
05f7b2cd42 added getUserInfo to fix #47 2016-08-29 15:03:16 +05:30
thekindlyone
3025c032fe python 3 friendly print 2016-08-29 09:41:58 +05:30
thekindlyone
7ab0d3caf0 added example echobot to readme 2016-08-29 09:39:18 +05:30
thekindlyone
e44356f265 fbid in _parseMessage changed to m['delta']['messageMetadata']['actorFbId'] to fix #57 2016-08-29 09:30:54 +05:30
thekindlyone
bb4bf36d14 some cleanup. deleted commented old code 2016-08-29 07:42:21 +05:30
thekindlyone
5a0bcfb273 Fixed #55 , send fail due to api change.
clients.py:

1. cloned data to be exact payload the js project is sending in send

2. if debug then print payload that is being sent on send

utils.py :

1. added generateOfflineThreadingID and getSignatureID which are clones of the same code in js project
2016-08-28 22:56:07 +05:30
Taehoon Kim
ef56df7f4e Merge pull request #53 from JohnathonNow/master
Added support for sending images
2016-08-21 22:35:22 +09:00
Taehoon Kim
8fe2cbec12 Merge pull request #52 from thekindlyone/master
added clientid to data to fix listening issue
2016-08-21 22:35:17 +09:00
John Westhoff
92a08ab55d Added support for sending images 2016-08-12 02:04:30 -04:00
thekindlyone
1fe2fa1cac docstrings on event handlers that instruct to subclass if needed 2016-08-07 02:42:13 +05:30
thekindlyone
711bf497b8 added clientid to data in _pullMessage to fix {u'reason': 110, u't': u'refresh', u'seq': 0} in content 2016-08-07 02:38:20 +05:30
Taehoon Kim
d97d9d738a Merge pull request #50 from stanleykylee/master
added param for group messages
2016-07-21 22:29:49 +09:00
stanleykylee
3e224e3ab2 added param for group messages 2016-07-19 09:49:52 -07:00
Taehoon Kim
40492a1fbb Merge pull request #42 from PidgeyL/master
bugfix send function
2016-06-13 12:07:02 -07:00