Mads Marquart
13d0dc4ba4
Fixed ChangeThreadTitle and ThreadColor.MESSENGER_BLUE
v1.0.7
2017-06-28 14:30:29 +02:00
Mads Marquart
64125a1aca
Updated to 1.0.6, thanks to @enwar3
v1.0.6
2017-06-28 10:24:44 +02:00
Mads Marquart
4feae03092
Merge pull request #169 from OMGWINNING/master
...
Handle empty participant_customizations field
2017-06-28 10:23:33 +02:00
Joe Lau
5f993c2bf8
Use .get() instead
2017-06-27 16:16:51 -07:00
Joe Lau
35bbcbffba
Add __init__.py
2017-06-26 17:54:25 -07:00
Joe Lau
5faca54d67
Handle empty participant_customizations field
2017-06-26 14:16:57 -07:00
Mads Marquart
82496b8e04
Minor fixes
v1.0.5
2017-06-26 17:02:32 +02:00
Mads Marquart
2d74ec7823
Made getAllUsers more stable
2017-06-26 15:42:26 +02:00
Mads Marquart
1d42c4d3a6
Updated to 1.0.4, added fetchThread&GroupInfo and improved models
v1.0.4
2017-06-26 15:41:58 +02:00
Mads Marquart
4a8ef00442
Fixed a few bugs, updated to v. 1.0.3
v1.0.3
2017-06-26 11:37:54 +02:00
Mads Marquart
add06ffa7a
I was having trouble with PyPI ;)
v1.0.1
2017-06-22 23:35:28 +02:00
Mads Marquart
fbb8d8e24a
Update README.rst
2017-06-22 22:54:12 +02:00
Mads Marquart
cd0e001219
Update README.rst
2017-06-22 22:50:10 +02:00
Mads Marquart
bf53f4fc74
Updated to 1.0.0
v1.0.0
2017-06-22 22:43:26 +02:00
Mads Marquart
11e59e023c
Added GraphQL requests
2017-06-22 22:38:15 +02:00
Mads Marquart
c81d7d2bfb
Removed deprecations and new event system, improved other things
...
Removed deprecations
Removed new event system
Added documentation for all events
Added FAQ
Changed Client.uid to Client.id
Improved User model
Prepared for support of pages
2017-06-20 14:57:23 +02:00
Mads Marquart
d44d5053a4
Version up thanks to @DennyWeinberg
v0.9.3
2017-06-04 14:18:02 +02:00
Mads Marquart
7882a7f358
Merge pull request #153 from DennyWeinberg/actions_bugfix
...
Actions can be missing
2017-06-04 14:14:57 +02:00
Denny Weinberg
b373232538
Actions can be missing
...
Handle the case when actions are missing in the payload
2017-06-03 20:27:49 +02:00
Mads Marquart
1f4b0fa150
Fixed #152
2017-06-03 12:11:18 +02:00
Mads Marquart
2d90eee939
Updated Version
2017-06-02 16:11:31 +02:00
Mads Marquart
c8d9d05ed3
Fixes #149 , the issue was that Facebook changed their code
2017-06-02 16:02:27 +02:00
Mads Marquart
0885796fa8
Fix for Facebook's changed API, and removed test print statement
2017-06-02 15:59:24 +02:00
Mads Marquart
1279481b62
Update README.rst
2017-05-28 22:38:30 +02:00
Mads Marquart
5fb3412915
Update README.rst
2017-05-28 22:34:18 +02:00
Mads Marquart
c708a5ecf6
Fixed README!
2017-05-28 22:33:50 +02:00
Mads Marquart
e4f29e5f2b
Fixed README.rst?
2017-05-28 21:58:00 +02:00
Mads Marquart
779fa409e5
Fixed README.rst (again)
2017-05-28 21:56:58 +02:00
Mads Marquart
fc8c2dfa14
Fixed README.rst
2017-05-28 21:52:54 +02:00
Mads Marquart
9f7d308961
Added requirements.txt
2017-05-28 21:19:31 +02:00
Mads Marquart
8dacc37ba9
More documentation work, changed addUsersToGroup
back to taking a list of user IDs
...
Created new README, and finished `intro`
2017-05-28 21:11:16 +02:00
Mads Marquart
39eafa5a3e
Fixed examples, added changeNickname
and changeThreadEmoji
, changed changeGroupTitle
back to changeThreadTitle
...
I also removed the parameter `set_default_events` from __init__, since
it's not really necessary
Also added testing of examples and simple testing of listen functions
2017-05-26 18:48:37 +02:00
Mads Marquart
d2741ca419
Added baseline for sphinx documentation and on2FACode
event
...
The docs are still very WIP, but they should be functional. Just
execute `make html` in the docs folder, and you should be able to
navigate to `/docs/_build/html` and view it in your browser
2017-05-26 13:38:54 +02:00
Mads Marquart
a76ebbb22a
Added python 2.7 support, reworked events
...
- Reworked events, so now they support python 2.7 (I had to remove some
functionality though, but that was a little unnecessary anyway)
- Events now support the old style of writing, for people who's more
comfortable with that: ```python
class EchoBot(fbchat.Client):
def onMessage(self, *args, **kwargs):
self.something(*args, **kwargs)
```
While still supporting the new method:
```python
class EchoBot(fbchat.Client):
def __init__(self, *args, **kwargs):
super(EchoBot, self).__init__(*args, **kwargs)
self.onMessage += lamda *args, **kwargs: self.something(*args,
**kwargs)
```
- Included `msg` as a parameter in every event function, since it's
useful if you want to extract some of the other data
- Moved test data to the folder `tests`
- Fixed various other functions, and improved stability
2017-05-22 20:33:00 +02:00
Mads Marquart
83a45ebc03
Changed names with Chat
to Group
or Thread
respectively, improved error handling, and changed _doSendRequest
to return a single message id
2017-05-21 23:12:30 +02:00
Mads Marquart
76c2c65a7b
Fixed sendLocalImage, changed get_json, improved tests
...
- Changed get_json to take a `requests` response, and then return the
json (While checking encoding and removing unnecessary characters)
- Fixed sendLocalImage, the problem was that the `_getThread` call was
missing a parameter (Took me hours ;) )
- Removed 3 second delay between tests, I felt it was unnecessary
- Updated tests to no longer use deprecated functions
2017-05-21 21:56:56 +02:00
Mads Marquart
99a7d0d534
Added removed in v. x
warning to deprecations, and improved login error messages
2017-05-18 20:08:11 +02:00
Mads T Marquart
8e68531ce4
Merge pull request #145 from Dainius14/dev
...
Add more events and send methods, some fixes
2017-05-17 16:19:32 +02:00
Dainius
ed7b8488cb
rename _setThread() to _getThreadId()
2017-05-17 14:20:07 +03:00
Dainius
386cb4a6c1
fix on seen, on delivered, on marked as seen methods
2017-05-16 21:20:46 +03:00
Dainius
c95544dcb0
add typing indicator
2017-05-16 19:35:00 +03:00
Dainius
4083348c40
add reaction to messages. move request URLs to utils
2017-05-16 19:20:46 +03:00
Dainius
b1cccf4173
fix emoji sending and tests
...
My bad. Test data is still being commited, changed it to a sample file instead
2017-05-16 14:02:09 +03:00
Dainius
e1e1a0d611
add thread color change
2017-05-16 12:03:20 +03:00
Mads T Marquart
fb88f8d459
Merge pull request #142 from Torxed/master
...
Changed traceback.print_exc() to logging.exception
2017-05-15 15:50:15 +02:00
Mads T Marquart
0fdab3968d
Merge branch 'development' into master
2017-05-15 15:49:14 +02:00
Lord Anton Hvornum
ac0e72d167
There's no such thing as 'unicode' in Py3
2017-05-11 21:23:48 +02:00
Lord Anton Hvornum
e8fbaefa72
There's no such thing as 'unicode' in Py3
2017-05-11 21:23:18 +02:00
Lord Anton Hvornum
de21eafe7b
Swapped out for a better error output. You had no idea where errors occured before.
2017-05-11 21:18:27 +02:00
Mads T Marquart
44b3b1330a
Created test_data.json
...
See [here](f63b9d7c4a (commitcomment-22103626)
) for more info
2017-05-11 17:35:56 +02:00