Commit Graph

189 Commits

Author SHA1 Message Date
Taehoon Kim
f88c296706 Merge pull request #131 from tmcadam/patch-1
Fix for getUserInfo method throwing an error
2017-05-05 12:49:03 -07:00
Tom McAdam
dc1d158059 Fix for getUserInfo method throwing an error
The participants property on thread object is return a list of unicodes. If you then pass these unicodes to getUserInfo, they are not being picked up in the if statement on line 905 in the fbidStrip method, so the fbidStrip method was returning a tuple of None objects. The conditional now matches and reformats both str and unicode objects.
2017-05-05 17:03:21 +09:00
Taehoon Kim
5019671b35 version up from 0.8.2 to 0.8.5 thx to @Dainius14 2017-05-04 09:30:27 -07:00
Taehoon Kim
2973a6d301 Merge pull request #129 from Dainius14/master
fix inconsistencies, remove some deprecated and unused things
2017-05-04 09:28:20 -07:00
Dainius
dc95f367b8 fix typo 2017-05-04 17:51:32 +03:00
Dainius
2054cf3ca3 fix import 2017-05-04 17:16:26 +03:00
Dainius
04322c5330 fix 2FA for python 2, add default recipient 2017-05-02 19:40:41 +03:00
Dainius
3e327747bc fix inconsistencies, remove some deprecated and unused things 2017-05-01 15:57:26 +03:00
Taehoon Kim
1475d8c4db update pypi dist 2017-04-05 00:04:56 +09:00
Taehoon Kim
08ad9ae1bf Merge pull request #122 from thgcode/master
added the hability to control fbchat from an external event loop
2017-04-05 00:02:42 +09:00
Taehoon Kim
660e58dc77 Merge pull request #121 from TimLChan/master
Add 2FA Support
2017-04-05 00:00:58 +09:00
Thiago
2c4b9fbf80 added the hability to control fbchat from an external event loop 2017-04-04 11:14:12 -03:00
Taehoon Kim
62ce49bd17 Merge pull request #120 from thgcode/master
fixed a bug that prevented fbchat from returning the list of all users
2017-04-04 22:00:15 +09:00
Tim Chan
ca606b04b8 Added logging 2017-04-04 20:18:55 +10:00
Tim Chan
fd6a3ab3e4 Added 2FA Support
Added new function _2FA.
Specified that two things that are definitely shown when 2FA is enabled
2017-04-04 20:17:13 +10:00
Tim Chan
83b5918a6d Update client.py 2017-04-04 20:12:00 +10:00
Tim Chan
10430a5c5f Update client.py 2017-04-04 20:09:28 +10:00
Tim Chan
de6880d933 Update client.py 2017-04-04 20:08:07 +10:00
Tim Chan
d7f2bb3e8b Adding 2FA Support
Rudamentary 2FA support
2017-04-04 20:05:50 +10:00
Thiago
f66e9c98f3 fixed a bug that prevented fbchat from returning the list of all users in some accounts 2017-04-03 18:34:21 -03:00
Taehoon Kim
462c21d2ef version up thanks to the PR #115 2017-03-29 13:00:21 +09:00
Taehoon Kim
d38ce6df45 Merge pull request #115 from botcs/query-ignore
Query ignore fix
2017-03-29 12:57:58 +09:00
botcs
eb1ff3ffaa !!! getThreadList length MAX 20 2017-03-08 10:48:57 +01:00
botcs
78928fda77 fix None issue 2017-03-08 10:28:13 +01:00
botcs
43fbe4c655 assertion added for getThreadList end 2017-03-07 16:09:00 +01:00
botcs
3f3929fcde getThreadList fix: end is ignored by the querry 2017-03-07 15:58:47 +01:00
botcs
3ea27ea49a getThreadList fix: end is ignored by the querry 2017-03-07 15:55:03 +01:00
botcs
2580cf5577 getThreadInfo fix: start is deprecated, method always returns with 0 offset 2017-03-07 14:54:04 +01:00
botcs
f4cac4b8db getThreadInfo fix: removed parens from assertion 2017-03-07 14:39:10 +01:00
botcs
d2d77501e4 getThreadInfo fix: refactored end parameter, using instead length, because of behaviour 2017-03-07 14:37:00 +01:00
botcs
0142c8ff41 getThreadInfo fix. Stripping fbid: from string 2017-03-07 14:32:45 +01:00
Taehoon Kim
1fe399780e version up for bug fix #108 2017-02-08 13:11:06 +09:00
Taehoon Kim
09dd783a1f Merge pull request #108 from madsmtm/master
Fixed some bugs
2017-02-08 12:06:57 +09:00
Mads Marquart
fdb72e1f66 Changed name of the new on_message, to be properly backwards compatible
Apparently, python doesn't work the way i expected, when it comes to
overriding functions
2017-02-07 20:36:43 +01:00
Mads Marquart
8d34377419 Added python3 support
Without this, it crashes with a `UnicodeDecodeError`
2017-02-07 14:51:46 +01:00
Mads Marquart
abdac47009 Merge branch 'carpedm20/master' 2017-02-07 14:14:01 +01:00
Taehoon Kim
58c40ff286 version up for merging PRs from @madsmtm 2017-02-07 17:00:59 +09:00
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