Oren
b64c6a94cc
Add MODERN_SETTINGS_MENU url to ReqUrl
...
It is used to obtain the fb_h value
2018-05-08 12:18:15 +03:00
Oren
edc655bae7
Fix IndexError: list index out of range
bug
...
When the returned `short_name` is null, `fbchat` throws an exception:
```python
File "/usr/local/lib/python2.7/site-packages/fbchat/client.py", line 792, in fetchThreadList
return [graphql_to_thread(node) for node in j['viewer']['message_threads']['nodes']]
File "/usr/local/lib/python2.7/site-packages/fbchat/graphql.py", line 193, in graphql_to_thread
last_name=user.get('name').split(user.get('short_name'),1)[1].strip(),
IndexError: list index out of range
```
This commit fixes that scenario by accessing the last item in the list via `.pop()` instead of via `[1]`
2018-05-07 19:50:43 +03:00
Mads Marquart
884af48270
Version up, thanks to @gave92
...
Properly fixed `markAsRead`, @gave92 reminded me that I forgot to change the `True` to `'true'` when removing `encode_params`
v1.3.6
2018-03-21 10:05:07 +01:00
Mads Marquart
95f018fad3
Fixed example Echobot
2018-03-19 21:40:51 +01:00
Mads Marquart
b44758a195
Version up, thanks to @gave92
...
Fix `markAsRead` and `fetchUnread`; fixes #261
Added the `ssl_verify` instance variable, which allows disabling SSL varification for proxies
v1.3.5
2018-03-19 21:28:48 +01:00
Mads Marquart
f1c20d490e
Removed encode_params
from PR, as discussed in #269
2018-03-19 21:15:23 +01:00
Mads Marquart
04372d498e
Merge pull request #269 from gave92/FetchUnread
...
Fix `markAsRead` and `fetchUnread`; fixes #261
Added the `ssl_verify` instance variable, which allows disabling SSL varification for proxies
2018-03-19 21:08:45 +01:00
Marco Gavelli
63ea899605
fix for python3
2018-03-19 20:47:41 +01:00
Marco Gavelli
4fdd145d1e
verify in _postFile
2018-03-19 16:52:22 +01:00
Marco Gavelli
57ee68b0e0
added documentation to markAsRead
2018-03-19 16:38:19 +01:00
Marco Gavelli
99c6884681
added documentation to fetchUnread
2018-03-19 16:29:26 +01:00
Marco Gavelli
1c1438e9bc
fix for markAsRead, fetchUnread
2018-03-18 11:18:46 +01:00
Marco Gavelli
22f1b3e489
fix FetchUnread
2018-03-17 19:32:45 +01:00
Mads Marquart
fb1ad5800c
Minor fix for searchFor
. See comments on #266
v1.3.4
2018-03-05 22:07:16 +01:00
Taehoon Kim
4dd15b05ef
version up thanks to @2FWAH's PR #266 #267
v1.3.3
2018-03-03 22:49:25 +09:00
Taehoon Kim
d7cdb644c4
Merge pull request #265 from 2FWAH/fix-fetchThreadList-archived
...
Fix ThreadLocation to work with new GraphQL and archived threads
2018-03-03 22:22:21 +09:00
Taehoon Kim
bfcf4950b3
Merge pull request #266 from 2FWAH/fill-last_message_timestamp-in-fetchThreadList
...
Add last_message_timestamp support
2018-03-03 22:21:49 +09:00
Taehoon Kim
6612c97f05
Merge pull request #267 from danijeljw/patch-1
...
duplicate lines removed from setup
2018-03-03 22:20:28 +09:00
Danijel-James Wynyard
b92cf62726
duplicate lines removed
2018-03-03 12:08:05 +11:00
2FWAH
a53ba33a81
Set offset to 'None' by default
2018-02-23 09:23:34 +01:00
2FWAH
c04d38cf63
Handle last_message_timestamp
...
Set last_message_timestamp for one to one and group conversations.
2018-02-22 19:53:56 +01:00
2FWAH
a051adcbc0
Fix ThreadLocation to work with new GraphQL
2018-02-22 17:49:26 +01:00
Mads Marquart
900a9cdf72
Version up, thanks to @gave92
...
`fetchThreadList` is updated with a GraphQL implementation. See #241
v1.3.2
2018-02-18 22:40:13 +01:00
Mads Marquart
611b329934
Merge pull request #259 from gave92/fetchThreadListGraphQL
...
Added GraphQL alternative to fetchThreadList; fixes #241
2018-02-18 22:36:23 +01:00
Mads Marquart
2642788bc1
Merged fetchThreadListGraphQL
into fetchThreadList
2018-02-18 22:32:12 +01:00
Marco Gavelli
8268445f0b
Changed return type for ONE_TO_ONE to User
2018-02-18 22:49:47 +01:00
Marco Gavelli
c12dcd9263
Added GraphQL alternative to fetchThreadList; fixes #241
2018-02-17 14:29:31 +01:00
Mads Marquart
3142524809
Version up, thanks to @DeltaF1
...
`onFriendRequest` functionality is restored
v1.3.1
2018-02-07 11:30:19 +01:00
Mads Marquart
4c9d3bd9d7
Merge pull request #255 from DeltaF1/master
...
Restored onFriendRequest functionality
2018-02-07 11:29:04 +01:00
DeltaF1
ba103066b8
Restored onFriendRequest functionality
2018-02-06 00:30:35 -05:00
Mads Marquart
0b0d6179a2
Version up, thanks to @sdnian
...
`fetchThreadMessages` and `listen` can now parse AudioAttachments
v1.3.0
2018-01-30 17:20:47 +01:00
Mads Marquart
e8806d4ef8
Merge pull request #254 from sdnian/bransh1
...
modify AudioAttachment function
2018-01-30 17:15:55 +01:00
Steve Nian
c96e5f174c
update
2018-01-30 20:22:18 +08:00
Steve Nian
315242e069
update
2018-01-30 20:17:09 +08:00
Steve Nian
a94fa5fbe3
AudioAttachment
2018-01-30 17:33:29 +08:00
Mads Marquart
90203afdd0
Fixes documentation error
2018-01-23 20:20:13 +01:00
Mads Marquart
2c0d098852
Fixes #240 , small backwards-compatablitity issue when sending images
v1.2.1
2018-01-08 21:55:11 +01:00
Mads Marquart
e4290cd465
Version up, thanks to @lobstr
v1.2.0
2018-01-02 13:40:50 +01:00
Mads Marquart
46b85dec5c
Merge remote-tracking branch 'lobstr/master'
2018-01-02 13:40:25 +01:00
Mads Marquart
bbc34bd009
Added onTyping method
2018-01-02 13:33:13 +01:00
cirrux
c495317e65
Fix setTypingStatus to send correctly
2018-01-01 23:11:35 -05:00
cirrux
a946050228
Re-enable typing notification
2017-12-31 12:27:55 -05:00
cirrux
83789dcefa
Fix attachment parsing for newer structure
2017-12-26 19:12:10 -05:00
Mads Marquart
4f1f9bf1ce
Fixed errors on unknown genders
v1.1.3
2017-12-15 23:46:47 +01:00
Mads Marquart
32c72c2f35
Version up, thanks to @Dante383
v1.1.2
2017-12-10 20:08:13 +01:00
Dante
42ae0035af
typo in function name
...
checkRequest --> check_request
2017-12-10 14:16:17 +01:00
Mads Marquart
96e28fdbe6
Fixed error when recieving share
attachments
2017-11-16 15:14:46 +01:00
Taehoon Kim
0f889f50cf
Update README.rst
2017-11-14 17:25:01 +09:00
Mads Marquart
478eaebdec
Removed copyright icon from README.rst, fixing #219
v1.1.1
2017-10-21 18:47:12 +02:00
Mads Marquart
7ecf229db5
See commit description
...
- Deprecated `sendMessage` and `sendEmoji` in favor of `send`
- (Almost) Fully integrated attachment support
- Updated tests
- General cleanup
v1.1.0
2017-10-21 17:59:44 +02:00