Send message to user - PidgeyL/fbchat GitHub Wiki
##Send message to user:
URL: https://www.facebook.com/ajax/mercury/send_messages.php
Method: POST
Data:
Parameter | Value | Type |
---|---|---|
__a | 1 | str |
__req | <request number> |
str |
__rev | <revision number> |
str |
__user | <user ID> |
str |
fb_dtsg | <facebook digest> |
str |
ttstamp | <ttstamp> |
str |
client mercury | str | |
message_batch[0][action_type] | ma-type:user-generated-message | str |
message_batch[0][author] | fbid:<user ID>
|
str |
message_batch[0][specific_to_list][0] | fbid:<thread ID>
|
str |
message_batch[0][specific_to_list][1] | fbid:<user ID>
|
str |
message_batch[0][timestamp] | <timestamp> |
str |
message_batch[0][timestamp_absolute] | Today | str |
message_batch[0][timestamp_relative] |
<hour> :<minute>
|
str |
message_batch[0][timestamp_time_passed] | 0 | str |
message_batch[0][is_unread] | False | bool |
message_batch[0][is_cleared] | False | bool |
message_batch[0][is_forward] | False | bool |
message_batch[0][is_filtered_content] | False | bool |
message_batch[0][is_spoof_warning] | False | bool |
message_batch[0][source] | source:chat:web | str |
message_batch[0][source_tags][0] | source:chat | str |
message_batch[0][body] | <message> |
str |
message_batch[0][html_body] | False | bool |
message_batch[0][ui_push_phase] | V3 | str |
message_batch[0][status] | 0 | str |
message_batch[0][message_id] | <message ID> |
str |
message_batch[0][manual_retry_cnt] | 0 | str |
message_batch[0][thread_fbid] | <thread ID> |
str |
message_batch[0][has_attachment] | False | bool |