- 使用说明
- 账号管理
- 认证管理
- 个人动态
- 媒体
- 交流
- 好友关系
- 用户信息
未读消息
开发中
GET
/feeds/direct-inbox
请求参数
Authorization
在 header 添加参数
IGP-Session
示例:
IGP-Session: ********************
Query 参数
seqId
number
可选
threadMessageLimit
number
可选
示例值:
20
limit
number
可选
示例值:
20
cursor
string
可选
Header 参数
igp-proxy-url
string
代理地址
默认值:
socks5://user-niude666-region-us-sessid-b6ff4f30488e-sesstime-30-true:aa334455@pr-na.roxlabs.cn:4600
device-id
string
设备id
默认值:
xxdd21
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://103.244.148.79/api/feeds/direct-inbox?threadMessageLimit=20&limit=20' \
--header 'igp-proxy-url: socks5://user-niude666-region-us-sessid-b6ff4f30488e-sesstime-30-true:aa334455@pr-na.roxlabs.cn:4600' \
--header 'device-id: xxdd21' \
--header 'IGP-Session;'
返回响应
🟢200成功
application/json
Body
array of:
has_older
boolean
可选
has_newer
boolean
可选
pending
boolean
可选
items
array [object {17}]
可选
item_id
string
必需
user_id
integer
必需
timestamp
string
必需
item_type
string
必需
client_context
string
必需
show_forward_attribution
boolean
必需
forward_score
null
必需
is_shh_mode
boolean
必需
otid
string
必需
is_btv_send
boolean
必需
is_ae_dual_send
boolean
必需
is_ephemeral_exception
boolean
必需
paid_partnership_info
object
必需
send_attribution
string
必需
is_sent_by_viewer
boolean
必需
uq_seq_id
integer
必需
text
string
必需
canonical
boolean
可选
thread_id
string
可选
thread_v2_id
string
可选
users
array [object {25}]
可选
fbid_v2
string
可选
full_name
string
可选
is_eligible_for_igd_stacks
boolean
可选
is_private
boolean
可选
is_using_unified_inbox_for_direct
boolean
可选
pk
integer
可选
pk_id
string
可选
third_party_downloads_enabled
integer
可选
has_ig_profile
boolean
可选
account_badges
array[string]
可选
birthday_today_visibility_for_viewer
string
可选
biz_user_inbox_state
integer
可选
category
null
可选
friendship_status
object
可选
has_anonymous_profile_picture
boolean
可选
interop_messaging_user_fbid
string
可选
is_category_tappable
boolean
可选
is_possible_bad_actor
object
可选
should_show_warning
boolean
可选
is_supervision_features_enabled
boolean
可选
is_verified
boolean
可选
profile_pic_url
string
可选
username
string
可选
wa_addressable
boolean
可选
wa_eligibility
integer
可选
viewer_id
integer
可选
last_activity_at
string
可选
muted
boolean
可选
vc_muted
boolean
可选
encoded_server_data_info
string
可选
admin_user_ids
array[string]
可选
approval_required_for_new_members
boolean
可选
archived
boolean
可选
thread_has_audio_only_call
boolean
可选
pending_user_ids
array[string]
可选
last_seen_at
object
可选
61542341323
object
必需
relevancy_score
integer
可选
relevancy_score_expr
integer
可选
oldest_cursor
string
可选
newest_cursor
string
可选
inviter
object
可选
fbid_v2
string
必需
allowed_commenter_type
string
必需
reel_auto_archive
string
必需
has_onboarded_to_text_post_app
boolean
必需
pk
integer
必需
pk_id
string
必需
full_name
string
必需
is_private
boolean
必需
third_party_downloads_enabled
integer
必需
has_anonymous_profile_picture
boolean
必需
all_media_count
integer
必需
interop_messaging_user_fbid
string
必需
has_encrypted_backup
boolean
必需
reachability_status
integer
必需
username
string
必需
is_verified
boolean
必需
profile_pic_id
string
必需
profile_pic_url
string
必需
account_badges
array[string]
必需
label_items
array[string]
可选
last_permanent_item
object
可选
item_id
string
必需
user_id
integer
必需
timestamp
string
必需
item_type
string
必需
client_context
string
必需
show_forward_attribution
boolean
必需
forward_score
null
必需
is_shh_mode
boolean
必需
otid
string
必需
is_btv_send
boolean
必需
is_ae_dual_send
boolean
必需
is_ephemeral_exception
boolean
必需
paid_partnership_info
object
必需
send_attribution
string
必需
is_sent_by_viewer
boolean
必需
uq_seq_id
integer
必需
text
string
必需
named
boolean
可选
next_cursor
string
可选
prev_cursor
string
可选
thread_title
string
可选
left_users
array[string]
可选
spam
boolean
可选
bc_partnership
boolean
可选
mentions_muted
boolean
可选
thread_type
string
可选
thread_subtype
integer
可选
thread_has_drop_in
boolean
可选
video_call_id
null
可选
shh_transport_mode
integer
可选
shh_mode_enabled
boolean
可选
shh_toggler_userid
null
可选
shh_replay_enabled
boolean
可选
is_group
boolean
可选
input_mode
integer
可选
read_state
integer
可选
assigned_admin_id
integer
可选
folder
integer
可选
last_non_sender_item_at
integer
可选
business_thread_folder
integer
可选
theme
object
可选
id
string
必需
theme_data
null
可选
thread_label
integer
可选
marked_as_unread
boolean
可选
thread_context_items
array [object {2}]
可选
type
integer
必需
text
string
必需
is_close_friend_thread
boolean
可选
has_groups_xac_ineligible_user
boolean
可选
thread_image
null
可选
is_xac_thread
boolean
可选
is_translation_enabled
boolean
可选
translation_banner_impression_count
integer
可选
system_folder
integer
可选
is_fanclub_subscriber_thread
boolean
可选
is_appointment_booking_enabled
boolean
可选
joinable_group_link
string
可选
group_link_joinable_mode
integer
可选
smart_suggestion
null
可选
is_creator_subscriber_thread
boolean
可选
creator_subscriber_thread_response
null
可选
inbox_nudge_dismissed_ms
null
可选
last_message_timestamp_ms
null
可选
ad_context_data
null
可选
professional_metadata
null
可选
e2ee_cutover_status
integer
可选
btv_enabled_map
object
可选
item_type
object
必需
render
integer
必需
dm_eligible
boolean
必需
rtc_feature_set_str
string
可选
persistent_menu_icebreakers
object
可选
persistent_icebreakers
array[string]
必需
are_default_icebreakers
boolean
必需
has_reached_message_request_limit
null
可选
snippet
object
可选
dismiss_inbox_nudge
null
可选
should_upsell_nudge
boolean
可选
public_chat_metadata
object
可选
is_public
boolean
必需
is_pinnable_to_viewer_profile
boolean
必需
is_pinned_to_viewer_profile
boolean
必需
is_added_to_inbox
boolean
必需
is_subscribed_collaborator
boolean
必需
channel_end_source
null
必需
is_comments_enabled
boolean
必需
channel_end_timestamp
integer
必需
is_creator_thread
boolean
可选
is_business_thread
boolean
可选
is_sender_possible_business_impersonator
boolean
可选
event_thread_metadata
null
可选
sender_impersonator_info
null
可选
group_profile_id
null
可选
ctd_outcome_upsell_setting
null
可选
is_xac_readonly
boolean
可选
will_xac_be_readonly
boolean
可选
creator_agt_enabled
null
可选
read_receipts_disabled
integer
可选
boards_call_data
null
可选
ig_thread_capabilities
object
可选
capabilities_0
string
必需
is_3p_api_user
boolean
可选
示例
[
{
"has_older": true,
"has_newer": true,
"pending": true,
"items": [
{
"item_id": "string",
"user_id": 0,
"timestamp": "string",
"item_type": "string",
"client_context": "string",
"show_forward_attribution": true,
"forward_score": null,
"is_shh_mode": true,
"otid": "string",
"is_btv_send": true,
"is_ae_dual_send": true,
"is_ephemeral_exception": true,
"paid_partnership_info": {
"is_paid_partnership": true
},
"send_attribution": "string",
"is_sent_by_viewer": true,
"uq_seq_id": 0,
"text": "string"
}
],
"canonical": true,
"thread_id": "string",
"thread_v2_id": "string",
"users": [
{
"fbid_v2": "string",
"full_name": "string",
"is_eligible_for_igd_stacks": true,
"is_private": true,
"is_using_unified_inbox_for_direct": true,
"pk": 0,
"pk_id": "string",
"third_party_downloads_enabled": 0,
"has_ig_profile": true,
"account_badges": [
"string"
],
"birthday_today_visibility_for_viewer": "string",
"biz_user_inbox_state": 0,
"category": null,
"friendship_status": {
"following": true,
"blocking": true,
"is_private": true,
"incoming_request": true,
"outgoing_request": true,
"is_bestie": true,
"is_restricted": true,
"is_messaging_pseudo_blocking": true,
"reachability_status": 0,
"is_feed_favorite": true,
"is_viewer_unconnected": true
},
"has_anonymous_profile_picture": true,
"interop_messaging_user_fbid": "string",
"is_category_tappable": true,
"is_possible_bad_actor": {
"is_possible_scammer": true,
"is_possible_impersonator": {
"is_unconnected_impersonator": true,
"connected_similar_user_id": null
},
"is_possible_impersonator_threads": {
"is_unconnected_impersonator": true,
"connected_similar_user_id": null
}
},
"should_show_warning": true,
"is_supervision_features_enabled": true,
"is_verified": true,
"profile_pic_url": "string",
"username": "string",
"wa_addressable": true,
"wa_eligibility": 0
}
],
"viewer_id": 0,
"last_activity_at": "string",
"muted": true,
"vc_muted": true,
"encoded_server_data_info": "string",
"admin_user_ids": [
"string"
],
"approval_required_for_new_members": true,
"archived": true,
"thread_has_audio_only_call": true,
"pending_user_ids": [
"string"
],
"last_seen_at": {
"61542341323": {
"timestamp": "string",
"item_id": "string",
"shh_seen_state": {},
"created_at": "string"
}
},
"relevancy_score": 0,
"relevancy_score_expr": 0,
"oldest_cursor": "string",
"newest_cursor": "string",
"inviter": {
"fbid_v2": "string",
"allowed_commenter_type": "string",
"reel_auto_archive": "string",
"has_onboarded_to_text_post_app": true,
"pk": 0,
"pk_id": "string",
"full_name": "string",
"is_private": true,
"third_party_downloads_enabled": 0,
"has_anonymous_profile_picture": true,
"all_media_count": 0,
"interop_messaging_user_fbid": "string",
"has_encrypted_backup": true,
"reachability_status": 0,
"username": "string",
"is_verified": true,
"profile_pic_id": "string",
"profile_pic_url": "string",
"account_badges": [
"string"
]
},
"label_items": [
"string"
],
"last_permanent_item": {
"item_id": "string",
"user_id": 0,
"timestamp": "string",
"item_type": "string",
"client_context": "string",
"show_forward_attribution": true,
"forward_score": null,
"is_shh_mode": true,
"otid": "string",
"is_btv_send": true,
"is_ae_dual_send": true,
"is_ephemeral_exception": true,
"paid_partnership_info": {
"is_paid_partnership": true
},
"send_attribution": "string",
"is_sent_by_viewer": true,
"uq_seq_id": 0,
"text": "string"
},
"named": true,
"next_cursor": "string",
"prev_cursor": "string",
"thread_title": "string",
"left_users": [
"string"
],
"spam": true,
"bc_partnership": true,
"mentions_muted": true,
"thread_type": "string",
"thread_subtype": 0,
"thread_has_drop_in": true,
"video_call_id": null,
"shh_transport_mode": 0,
"shh_mode_enabled": true,
"shh_toggler_userid": null,
"shh_replay_enabled": true,
"is_group": true,
"input_mode": 0,
"read_state": 0,
"assigned_admin_id": 0,
"folder": 0,
"last_non_sender_item_at": 0,
"business_thread_folder": 0,
"theme": {
"id": "string"
},
"theme_data": null,
"thread_label": 0,
"marked_as_unread": true,
"thread_context_items": [
{
"type": 0,
"text": "string"
}
],
"is_close_friend_thread": true,
"has_groups_xac_ineligible_user": true,
"thread_image": null,
"is_xac_thread": true,
"is_translation_enabled": true,
"translation_banner_impression_count": 0,
"system_folder": 0,
"is_fanclub_subscriber_thread": true,
"is_appointment_booking_enabled": true,
"joinable_group_link": "string",
"group_link_joinable_mode": 0,
"smart_suggestion": null,
"is_creator_subscriber_thread": true,
"creator_subscriber_thread_response": null,
"inbox_nudge_dismissed_ms": null,
"last_message_timestamp_ms": null,
"ad_context_data": null,
"professional_metadata": null,
"e2ee_cutover_status": 0,
"btv_enabled_map": {
"item_type": {},
"render": 0,
"dm_eligible": true
},
"rtc_feature_set_str": "string",
"persistent_menu_icebreakers": {
"persistent_icebreakers": [
"string"
],
"are_default_icebreakers": true
},
"has_reached_message_request_limit": null,
"snippet": {},
"dismiss_inbox_nudge": null,
"should_upsell_nudge": true,
"public_chat_metadata": {
"is_public": true,
"is_pinnable_to_viewer_profile": true,
"is_pinned_to_viewer_profile": true,
"is_added_to_inbox": true,
"is_subscribed_collaborator": true,
"channel_end_source": null,
"is_comments_enabled": true,
"channel_end_timestamp": 0
},
"is_creator_thread": true,
"is_business_thread": true,
"is_sender_possible_business_impersonator": true,
"event_thread_metadata": null,
"sender_impersonator_info": null,
"group_profile_id": null,
"ctd_outcome_upsell_setting": null,
"is_xac_readonly": true,
"will_xac_be_readonly": true,
"creator_agt_enabled": null,
"read_receipts_disabled": 0,
"boards_call_data": null,
"ig_thread_capabilities": {
"capabilities_0": "string"
},
"is_3p_api_user": true
}
]
修改于 2023-08-31 07:35:46