Commit Graph

302 Commits

Author SHA1 Message Date
Taehoon Kim
a34c8eb9ae Merge pull request #98 from madsmtm/master
Added functions to save and load session cookies to and from file
2017-02-07 16:59:55 +09:00
Taehoon Kim
0f3f7f7dfa Merge pull request #102 from madsmtm/user_adding_and_kicking
Added new functions and events. Also fixed sending messages to groups.
2017-02-07 16:59:43 +09:00
Mads Marquart
821b8aeabf Merge branch 'carpedm20/master' into user_adding_and_kicking 2017-02-06 16:47:57 +01:00
Taehoon Kim
98536656b5 Merge pull request #100 from madsmtm/login_reliability
Improved login reliability
2017-02-07 00:33:20 +09:00
Taehoon Kim
ec4a7f3f1c Merge pull request #99 from madsmtm/message_error_handling
Added error handling when sending messages
2017-02-07 00:32:43 +09:00
Mads Marquart
907027b423 Fixed minor mistake in README 2017-02-06 15:33:35 +01:00
Mads Marquart
d712497a8a Updated README 2017-02-06 15:32:22 +01:00
Mads Marquart
f7fd5b4be5 Changed login function, so that loading a session from file is possible 2017-02-06 15:23:21 +01:00
Mads Marquart
b319885bbc Added add_users_to_chat, on_people_added and on_person_removed. Also fixed sending messages to groups.
Added functionality to add users in `send`

Fixed sending messages to groups (Sending empty `other_user_fbid` does
not work. It has to be omitted!)

Added new `on_message`, which gets `recipient_id` and `thread_type`.
This will help people sending messages to groups greatly! It also no
longer receives `name`, since this parameter isn't used.

Added event functions `on_people_added` and `on_person_removed`, and
their corresponding calls.
2017-02-06 14:41:55 +01:00
Mads Marquart
433f99198b Improved login reliability
Sometimes Facebook tries to show the user a "Save Device" dialog.
2017-02-06 13:44:30 +01:00
Mads Marquart
e4b0647d8d Added error handling when sending messages 2017-02-06 13:14:47 +01:00
Mads Marquart
0708d981d5 Fixed a spelling mistake 2017-02-06 10:48:39 +01:00
Mads Marquart
0234327bf9 Added functions to save and load session cookies to and from file
This uses some fairly unknown functions from the "requests" library
2017-02-06 10:48:01 +01:00
Taehoon Kim
1b3ba64508 Merge pull request #97 from pirelle/master
Added getAllUsers function
2017-02-06 12:14:47 +09:00
Oleg Samokhin
3aa0a9f07d Added getAllUsers function 2017-02-03 15:46:50 +05:00
Taehoon Kim
4eb61641b7 Version up for merging #96 2017-02-03 07:52:23 +09:00
Taehoon Kim
07b6c941b0 Merge pull request #96 from Bankde/fix-fb-listening-encoding
Fix fb listening encoding
2017-02-03 07:51:34 +09:00
Bankde@hotmail.com
fc977c4fa0 change UTF-8 to global constant 2017-02-02 23:50:41 +07:00
Bankde@hotmail.com
64b9624563 fix listening encoding 2017-02-02 23:07:09 +07:00
Taehoon Kim
dea64fb9b8 fix typo and version up for merging multiple PRs 2017-01-30 21:53:16 +09:00
Taehoon Kim
e847c551d1 Merge pull request #68 from aeantipov/master
Update client.py to post to groups (Issue #63)
2017-01-30 21:49:06 +09:00
Taehoon Kim
1043f172e5 Merge branch 'master' into master 2017-01-30 21:48:55 +09:00
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