IGPAPI
  1. 个人动态
IGPAPI
  • 使用说明
  • 账号管理
    • 邮箱创建账号
      • 邮箱验证是否合法
      • 发送注册邮件验证码
      • 验证邮箱验证码
      • 邮箱注册
    • 短信创建账号
      • 手机号验证是否合法
      • 发送注册短信验证码
      • 验证短信验证码
      • 短信注册
  • 认证管理
    • 登录
      POST
    • 多因素登录
      POST
    • 打开监听
      POST
    • 关闭监听
      POST
    • 查看挑战类型
      POST
    • 解决挑战(待定)
      POST
  • 个人动态
    • 获取粉丝
      GET
    • 我关注的
      GET
    • 未读消息
      GET
    • 用户动态
      GET
    • 聊天框的消息
      GET
  • 媒体
    • 评论
      POST
    • 点赞
      POST
    • 取消点赞
      POST
  • 交流
    • 发送私信
      POST
    • 发送图片
      POST
  • 好友关系
    • 关注
      POST
    • 取消关注
      POST
  • 用户信息
    • 修改昵称
      POST
    • 修改用户名
      POST
    • 修改头像
      POST
    • 根据userId获取用户信息
      GET
    • 根据username获取用户信息
      GET
    • 获取用户故事
      GET
  1. 个人动态

聊天框的消息

开发中
GET
/feeds/direct-thread

请求参数

Authorization
在 header 添加参数
IGP-Session
示例:
IGP-Session: ********************
Query 参数
id
string 
可选
示例值:
18018367870682749
seqId
number 
可选
示例值:
10
cursor
string 
可选
示例值:
31294978017864650994409689755680768
Header 参数
igp-session
string 
可选
示例值:
{"cookies":{"version":"tough-cookie@4.1.3","storeType":"MemoryCookieStore","rejectPublicSuffixes":true,"enableLooseMode":false,"allowSpecialUseDomain":true,"prefixSecurity":"silent","cookies":[]},"device":{"language":"en_US","radioType":"wifi-none","connectionType":"WIFI","timezoneOffset":"28800","isLayoutRTL":false,"id":"android-b14b40a7e69e0be6","descriptor":"23/6.0.1; 480dpi; 1080x1920; Coolpad; C1-U02; C103; qcom","uuid":"29552ea4-4a2b-5494-b16b-32f2093b7628","phoneId":"94396cf2-4b30-54fb-9506-94a630d32770","adid":"4160300b-9028-555f-a8a1-9ccc3f9a2b8a","build":"MRA58K","familyId":"0293805f-9657-5431-9d13-885a70cb4b81"},"session":{"thumbnailCacheBustingValue":1000,"adsOptOut":false,"igWWWClaim":"0","passwordEncryptionKeyId":"155","passwordEncryptionPubKey":"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF6MGc0NVMwWFlLSGxuRzhtZERhVQpmOE40WEN4R1h2ZzMwWTQzTzZUNFhlUlh6ajJwV1NzZm9KSWRvWUVEMVo2Z3duR01BMHlyRXFkN0NUbGFGQlVtCmFSV05vakdXMjlYNzF2R3hkZ2REUU1LSlc5c1JScWtTcm1zQXBvaVVSUEQ1L1JwVnlpNG9MTFZsQ01YVUZIeHgKRFkwanFaTmhNbVU2ck43cmNZQ1RYdnMwR2JSSWY5ZXZqTGpJV0lBMUl3K21RRXFIYmZBanFJQzFBQk4zNWp0WQpxUTBKSlBIbTlhNm5RY05NNmw3MmJFMHlIVFFPVjRQZ1JWNUlrZTJJZm5OVFpKdFJNMmtWR0xNRXphdVRQR2o0CmVVNlV4MW1nbnJuTHRMWjhpblVqZWRJWVV1OHdWZS9CNWFOQXdGM0c1ekJ1MnFrRFlGeURUL3ZTWEU5Z3luMXoKcFFJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==","regionHint":"","shbid":"","shbts":"","rur":"","dsUserId":"62005230668","xMid":"ZR-v8gABAAFC0Mw3VV0RTVH86Xnx","authorization":"Bearer IGT:2:eyJkc191c2VyX2lkIjoiNjIwMDUyMzA2NjgiLCJzZXNzaW9uaWQiOiI2MjAwNTIzMDY2OCUzQXVMbnI3bmNhN3VTTFptJTNBMiUzQUFZZVh1cGViNEhzOUxpSndoRFdvZHhMYnU0di1fNE4xV0Y1OEM4clFkUSJ9"},"application":{"APP_VERSION":"281.0.0.19.105","APP_VERSION_CODE":"470774573","BREADCRUMB_KEY":"iN4$aGr0m","FACEBOOK_ANALYTICS_APPLICATION_ID":"567067343352427","BLOKS_VERSION_ID":"c0a45b461eed836c64d795e59fde36963cf2dd6a6d58c06a50d936bd9f62180d","CAPABILITIES":"3brTv10=","SUPPORTED_CAPABILITIES":[{"name":"SUPPORTED_SDK_VERSIONS","value":"119.0,120.0,121.0,122.0,123.0,124.0,125.0,126.0,127.0,128.0,129.0,130.0,131.0,132.0,133.0,134.0,135.0,136.0,137.0,138.0,139.0,140.0"},{"name":"FACE_TRACKER_VERSION","value":"14"},{"name":"segmentation","value":"segmentation_enabled"},{"name":"COMPRESSION","value":"ETC2_COMPRESSION"},{"name":"world_tracker","value":"world_tracker_enabled"},{"name":"gyroscope","value":"gyroscope_enabled"}],"LAUNCHER_MOBILE_CONFIG":[{"unit_type":"1","query_hash":"571ea845c6567d4c2ab7c1fc99d94f448da2f8b7a6158b1d980843e615b982d3"},{"unit_type":"2","query_hash":"cec990f034bae0697ac33c3fc4f9edef6632370cd95fb7f55ce4826f90bf1b44"}]},"clientSessionIdLifetime":33113091,"pigeonSessionIdLifetime":19810800,"bandwidthTotalBytesB":"0","bandwidthTotalTimeMS":"0","proxyUrl":"http://127.0.0.1:10809"}
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-thread?id=18018367870682749' \
--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-10-06 14:28:32
上一页
用户动态
下一页
评论
Built with