Commit Graph

607 Commits

Author SHA1 Message Date
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
PidgeyL
6d8c2fd66e bugfix 2016-05-30 14:53:29 +02:00
PidgeyL
902e90147a remove unneeded print if not debug 2016-05-30 14:26:27 +02:00
PidgeyL
ebcb24c945 bugfix send function 2016-05-30 14:13:42 +02:00
Taehoon Kim
06c8173986 Merge pull request #32 from HashirZahir/fix/utils-json-crash
Fix JSON load error issue #25 and #31
2016-05-25 11:13:07 +09:00
Taehoon Kim
10dab1899e Merge pull request #27 from tcyrus/patch-2
Update client.py
2016-05-25 11:12:34 +09:00
Pidgey
822e26e892 Merge pull request #36 from Charliiee/master
Improving README
2016-03-31 08:19:49 +02:00
Charliiee
6ced59fa39 Update README.rst 2016-03-30 13:57:28 -03:00
Charliiee
401a0ca82d Adding some description
Help for beginners who don't know where to start from
2016-03-30 13:56:10 -03:00
Hashir
b427151b77 Fix JSON load error issue #25 and #31 2016-03-01 13:14:12 +08:00
Timothy Cyrus
68c5fc0006 Update client.py 2016-02-06 19:11:56 -05:00
Pidgey
168f7c397b Merge pull request #23 from PidgeyL/master
More actions on "listening"
2016-01-11 09:06:09 +01:00
PidgeyL
7336d3ec45 version update 2016-01-11 09:04:32 +01:00
PidgeyL
f0e8066083 more actions 2016-01-11 09:01:09 +01:00
Taehoon Kim
057c112c7f Merge pull request #22 from PidgeyL/master
New features
2016-01-05 22:32:19 +09:00
PidgeyL
47ded77b13 update version 2016-01-04 09:06:28 +01:00
PidgeyL
f0daab74f6 undo re-encoding 2016-01-04 09:04:12 +01:00
PidgeyL
1c0d7cf3e4 sanatization, on_typing and on_read 2015-12-31 17:09:41 +01:00
PidgeyL
113c8fb8bc automatically mark messages as delivered and read 2015-12-29 16:09:41 +01:00
PidgeyL
a6a05203a4 Add listening 2015-12-28 19:38:22 +01:00
Taehoon Kim
674f6b433d Merge pull request #21 from PidgeyL/master
Adding the like option to messages
2015-12-28 21:53:00 +09:00
PidgeyL
3a6f733811 merge 2015-12-28 12:35:31 +01:00
Pidgey
33e0d361a5 Update __init__.py 2015-12-28 12:34:01 +01:00
Pieter-Jan Moreels
72644edc1c add likes to messages 2015-12-28 12:19:09 +01:00