wxhook

微信


进入直播间

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>进入直播间</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:30001/JoinFinderLive</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <h5>参数</h5> <pre><code>{     &amp;quot;objectId&amp;quot;: &amp;quot;14041857681466005813&amp;quot;,     &amp;quot;objectNonceId&amp;quot;: &amp;quot;4309267930395156923_0_146_0_0&amp;quot;,     &amp;quot;live_id&amp;quot;: &amp;quot;2078512204411466995&amp;quot; }</code></pre> <h5>返回示例</h5> <pre><code>{     &amp;quot;baseResponse&amp;quot;: {         &amp;quot;Ret&amp;quot;: 0,         &amp;quot;ErrMsg&amp;quot;: {             &amp;quot;String&amp;quot;: &amp;quot;&amp;quot;         }     },     &amp;quot;live_cookies&amp;quot;: &amp;quot;NlsTGrhAjn5mGOR5cBzGcZ7YB41QsbBiU2ntVbdB0Pb06LEB1rc5XxOEQql8LPm4eSskejJSyzW8f7BVwxExUcwAMZrbmUmeFHEQoRaWRF4ciUixvT+w0ezol83gbtV02U+Hs/y8W8hS2JpgmVt0h9cLMmkrXco3HwjNT4IPHss6pjp67o/0v221C8z7vbWOJcbET0DQcMG3F1qJxNu39A/VqKIxa+FXqfQaKaPT/p9xv6MztK5yc2K++rYZwpyGA988Z2kVILGYbtGo5Cu4Dp24BYn6A5j+GJlQRoETk5LZIN1BeP1GxPwK46BaN1Svc40cG4degZGFYSSsE/g7QJkaMnm7VoRYZDf/FPjXb6Te6QP45/QYRpK/HjRgiz6bMIjxi3mQRaOlPKIyFTB0K8TEXBQKW/kZDEST306mTYaySKYKDmo03VcGIta21yESMbC5xs3ODi0PFrYAJB7boUlyWjKifKLZRWteAsIO9BVvZX7ZmMaNr2i3v85QhsvWDHCUWHSesl4vBVpBln8upSm9MaDBaREtROjVTjrWovo2xBqwOl8toXOqrO6oelNRSjifSR6l7StVUmgCWYhfBoAp8s6kSJpO79wsUCmVIkCxch89XmftmrGHDM7TdYKTj+LqTjG+VqQi3grJ2FvS7yNGMljoPILW3GzRlSaaQZzI9naEtaxslqQKp0o364Y6UgPI1AxEbIWg/nPhc6IzD9MmZ/INsxoPq/s/t0roWkKPDQMTXVBKQPqN40Bfk5GKDb4w7ErgW+11bPNGj4TStgFFOuy6zrhaNVnxvuOZiE7DqmlG9P249QlBqSJdBRt8TZeZWHv4LQoEUpgU/+s8hBSPAztgBRLp//0VQNq9il2c++8BNmsdLcXyASGGxO0vqqReo3r6I0Fq+iO4zZSoC1ZDnPo7HdEdslk0s3e9AugZAZVEVFHZhWSZgVvLUPu+6JKjDvOi+YmsxCVihqrs9R7KeMufnfJLCB+oaIKxwK+PVgjS+6LmYJPMzx9RCTd5Zzb0UxZKtbjyu0Zrw4wMYMIYQv1lbxpFzlgyPMFJ6wJaFKxLNqwWee5MHUXp3drXN2FzT2pcQkfcMgw51+bYvsHNmdhhV3AC8gmd4pxX0yfhzQhyTN7v9oJyRDo2TuT1XsCQN+D6hgEBiyWcMKKkePNIW2G0wHRPbT9a4xycjuIU7kqM3fVapPnqKTZO3w+LegQmPrJXVD6jLKdU2IaMjahrXfhDjV8UP67wZMLHbSRevpinGjh0A3r++dk2oeiHVNHM1pqAUdrs1kY2d/DabXEl8HWztnxK7/B43kc9MHQTwoEqp8OH+FoW1WT5Jm8xMQZJjUd8/PL1PaUQmwmRhRM=&amp;quot;,     &amp;quot;live_sdk_info&amp;quot;: {         &amp;quot;sdk_appid&amp;quot;: 1400439699,         &amp;quot;sdk_user_id&amp;quot;: &amp;quot;o9hHn5cSljbaWqC3d0KIyMMJMZvg&amp;quot;,         &amp;quot;sdk_live_id&amp;quot;: 227241400,         &amp;quot;sdk_role_id&amp;quot;: 1,         &amp;quot;sdk_user_sig&amp;quot;: &amp;quot;ZUp3dHpjc09nak...&amp;quot;,         &amp;quot;sdk_params&amp;quot;: &amp;quot;eyJ2aWRlb19wY...&amp;quot;,         &amp;quot;sdk_create_user_id&amp;quot;: &amp;quot;o9hHn5cuYZyqu34hqxSVVg2Z0pO4&amp;quot;,         &amp;quot;expire_for_sig&amp;quot;: &amp;quot;15552000&amp;quot;,         &amp;quot;expire_for_pmk&amp;quot;: &amp;quot;86400&amp;quot;,         &amp;quot;live_id&amp;quot;: &amp;quot;2078512204411466995&amp;quot;,         &amp;quot;live_cdn_url&amp;quot;: &amp;quot;http://voipfinderliveplay.wxqcloud.qq.com/trtc_1400439699/live_2078512204411466995_wxh420.flv?extbuf=tYSEkPD2beGZtF%2BON6UmP4wLVtsqD8bgX6kVZ9yvs%2F88HIxvih3A0Aozbc4UgE74AzY6e5i0P%2BAtB4VzSnANbhTCfDhApPOMEFVgbl%2FQGl2uZEu7fBeI0jcmHYE2SBV7wgo3L5%2Bqu8o0rAs4uVx7Tj7%2F3D%2FU&amp;amp;openid=3fd0bdbecebc1faee656a6da98ba1afb&amp;amp;txSecret=5311b77013119baf576365c19a749f35&amp;amp;txTime=63C8241A&amp;amp;wxtoken=958b2ad81522154b7082ae3319c646be&amp;amp;cdntagname=wxh420&amp;amp;combuf=WwJOQQZWJ%2BIO%2BGZAzmTgc8VAeUVrurB3PwH%2FiB%2FtJeKiklwmCiJfRQOLocHkdUVVjLp2wl4BPScSmmWgZP8yTb6Byr6J%2FAx8iw%3D%3D&amp;amp;sc=10&amp;quot;     },     &amp;quot;live_info&amp;quot;: {         &amp;quot;live_id&amp;quot;: &amp;quot;2078512204411466995&amp;quot;,         &amp;quot;live_status&amp;quot;: 1,         &amp;quot;stream_url&amp;quot;: &amp;quot;http://voipfinderliveplay.wxqcloud.qq.com/trtc_1400439699/live_2078512204411466995_wxh420.flv?extbuf=tYSEkPD2beGZtF%2BON6UmP4wLVtsqD8bgX6kVZ9yvs%2F88HIxvih3A0Aozbc4UgE74AzY6e5i0P%2BAtB4VzSnANbhTCfDhApPOMEFVgbl%2FQGl2uZEu7fBeI0jcmHYE2SBV7wgo3L5%2Bqu8o0rAs4uVx7Tj7%2F3D%2FU&amp;amp;openid=3fd0bdbecebc1faee656a6da98ba1afb&amp;amp;txSecret=5311b77013119baf576365c19a749f35&amp;amp;txTime=63C8241A&amp;amp;wxtoken=958b2ad81522154b7082ae3319c646be&amp;amp;cdntagname=wxh420&amp;amp;combuf=WwJOQQZWJ%2BIO%2BGZAzmTgc8VAeUVrurB3PwH%2FiB%2FtJeKiklwmCiJfRQOLocHkdUVVjLp2wl4BPScSmmWgZP8yTb6Byr6J%2FAx8iw%3D%3D&amp;amp;sc=10&amp;quot;,         &amp;quot;start_time&amp;quot;: 1673919909,         &amp;quot;like_cnt&amp;quot;: 116,         &amp;quot;end_time&amp;quot;: 0,         &amp;quot;live_ext_info&amp;quot;: {             &amp;quot;anchor_status_buffer&amp;quot;: &amp;quot;eyJ0aW1lX21zIjoiMTY3MzkxOTg3OTI0MiIsInN0YXR1c19mbGFnIjoiMCIsInZlcnNpb24iOjF9&amp;quot;         },         &amp;quot;live_sdk_channel_info&amp;quot;: {             &amp;quot;audience_mode&amp;quot;: 1         },         &amp;quot;participant_count&amp;quot;: 521,         &amp;quot;reward_total_amount_in_wecoin&amp;quot;: &amp;quot;0&amp;quot;,         &amp;quot;source_type&amp;quot;: 2,         &amp;quot;reward_total_amount_in_heat&amp;quot;: &amp;quot;0&amp;quot;,         &amp;quot;new_like_cnt&amp;quot;: &amp;quot;116&amp;quot;,         &amp;quot;heat_value&amp;quot;: 77,         &amp;quot;layer_show_info&amp;quot;: {             &amp;quot;show_type&amp;quot;: 0,             &amp;quot;accumulated_seconds&amp;quot;: 0         },         &amp;quot;purchase_info&amp;quot;: {             &amp;quot;charge_flag&amp;quot;: 0,             &amp;quot;is_purchased&amp;quot;: true         },         &amp;quot;anchor_status_flag&amp;quot;: 0,         &amp;quot;live_activity_type&amp;quot;: [],         &amp;quot;live_flag&amp;quot;: 393445,         &amp;quot;multi_reason&amp;quot;: [],         &amp;quot;cover_info&amp;quot;: {             &amp;quot;effect_type&amp;quot;: 0         },         &amp;quot;live_heat_value&amp;quot;: 0,         &amp;quot;entrance_ad_infos&amp;quot;: [],         &amp;quot;member_info&amp;quot;: {             &amp;quot;can_join_member&amp;quot;: false,             &amp;quot;member_setting&amp;quot;: []         },         &amp;quot;member_relationship_info&amp;quot;: {             &amp;quot;member_level&amp;quot;: 0         },         &amp;quot;theme_color_info&amp;quot;: {             &amp;quot;infos&amp;quot;: [],             &amp;quot;version&amp;quot;: 5         }     },     &amp;quot;live_mic_info&amp;quot;: {         &amp;quot;mic_audience_list&amp;quot;: [],         &amp;quot;enable_cross_live_room_mic&amp;quot;: false     },     &amp;quot;user_info&amp;quot;: {         &amp;quot;enable_comment&amp;quot;: 1,         &amp;quot;enable_friend_chat&amp;quot;: 1     },     &amp;quot;self_contact&amp;quot;: {         &amp;quot;enable_comment&amp;quot;: 1,         &amp;quot;live_contact_flag&amp;quot;: 11,         &amp;quot;badge_infos&amp;quot;: [             {                 &amp;quot;badge_type&amp;quot;: 2,                 &amp;quot;badge_level&amp;quot;: 0             }         ]     },     &amp;quot;tips&amp;quot;: {         &amp;quot;law_tips&amp;quot;: &amp;quot;欢迎来到直播间。直播间内禁止未成年人打赏礼物或进行直播/连麦,禁止主播诱导观众私下交易,直播及连麦时禁止出现违法违规、色情低俗、诱导欺诈、抽烟酗酒等内容。请谨慎判断,理性消费,避免财产及人身损失,发现违规行为请及时投诉。&amp;quot;     },     &amp;quot;template_info_list&amp;quot;: [],     &amp;quot;alias_info&amp;quot;: [         {             &amp;quot;nickname&amp;quot;: &amp;quot;Visions&amp;quot;,             &amp;quot;head_img_url&amp;quot;: &amp;quot;http://wx.qlogo.cn/mmhead/OM4v0FU2h0tWazaMyCI7wW5L9O3JUQNGSiakmpmRia0k9esGhja9KnAA/0&amp;quot;,             &amp;quot;role_type&amp;quot;: 1         },         {             &amp;quot;nickname&amp;quot;: &amp;quot;ILOVEYOU&amp;quot;,             &amp;quot;head_img_url&amp;quot;: &amp;quot;http://wx.qlogo.cn/mmhead/fIKJOPSADFUJ45yhAaficG7Ldbia9OFx0/132&amp;quot;,             &amp;quot;role_type&amp;quot;: 2,             &amp;quot;alias_msg_name&amp;quot;: &amp;quot;25d50278ba89a5c0756d1e4b9eaa3c3a1699b799a3b62bd2865e53349f3ea126@findermsgalias&amp;quot;,             &amp;quot;alias_version&amp;quot;: 1,             &amp;quot;alias_status&amp;quot;: 1         }     ],     &amp;quot;current_alias_role_type&amp;quot;: 2,     &amp;quot;next_alias_mod_available_time&amp;quot;: 1673082996,     &amp;quot;verify_info_buf&amp;quot;: &amp;quot;ClBHX89Z/AT4hELjkby0WntEwgN1jBNrI8EzbSrQuC+gQXTEuehEUiFFzspIdT4Ey16qULGhBWkdYJf0mmBzG7QBkDKO7HDF6V6Zy4sySy6xjw==&amp;quot;,     &amp;quot;redpacket_cli_buff&amp;quot;: &amp;quot;CLWy_JKh5azvwgEQ8-mJqub6luwcIAAoAjDt3KmKjtijFzoTNDMwOTI2NzkzMDM5NTE1NjkyM0ABUgA&amp;quot;,     &amp;quot;redpacket_refer_chatroom_id_list&amp;quot;: [],     &amp;quot;biz_user_info&amp;quot;: {         &amp;quot;biz_nickname&amp;quot;: &amp;quot;坐享平潭&amp;quot;,         &amp;quot;biz_username&amp;quot;: &amp;quot;gh_a25c7cc50b8c&amp;quot;     },     &amp;quot;cheer_info&amp;quot;: {         &amp;quot;cheer_icon_info&amp;quot;: [             {                 &amp;quot;icon_url&amp;quot;: &amp;quot;http://wxapp.tc.qq.com/251/20304/stodownload?m=1a3e05118707fdfa6391469ed72db56c&amp;amp;filekey=30340201010420301e020200fb0402535a04101a3e05118707fdfa6391469ed72db56c020268cb040d00000004627466730000000132&amp;amp;hy=SZ&amp;amp;storeid=563bc1562000e65280004717a000000fb00004f50535a13da8970b66cb82e3&amp;amp;dotrans=0&amp;amp;bizid=1023&amp;amp;adaptivelytrans=0&amp;quot;,                 &amp;quot;samp_rate&amp;quot;: 17             },             {                 &amp;quot;icon_url&amp;quot;: &amp;quot;https://wxapp.tc.qq.com/251/20304/stodownload?m=08c2a52736311395fb8e3906b7b89191&amp;amp;filekey=30450201010420301e020200fb04025348041008c2a52736311395fb8e3906b7b8919102024101041e000000046274667300000001310000000861707073746f72650000000131&amp;amp;hy=SH&amp;amp;storeid=32303231303932343230353833303030306131336364303030303030303064326536346630393030303030306662&amp;amp;dotrans=0&amp;amp;bizid=1023&amp;amp;adaptivelytrans=0&amp;quot;,                 &amp;quot;samp_rate&amp;quot;: 17             },             {                 &amp;quot;icon_url&amp;quot;: &amp;quot;https://wxapp.tc.qq.com/251/20304/stodownload?m=9011c5b199e1fd1521cd7bb8249a2985&amp;amp;filekey=30450201010420301e020200fb0402534804109011c5b199e1fd1521cd7bb8249a29850202624b041e000000046274667300000001310000000861707073746f72650000000131&amp;amp;hy=SH&amp;amp;storeid=32303231303932343230353833303030306134306338303030303030303034653032396430393030303030306662&amp;amp;dotrans=0&amp;amp;bizid=1023&amp;amp;adaptivelytrans=0&amp;quot;,                 &amp;quot;samp_rate&amp;quot;: 16             },             {                 &amp;quot;icon_url&amp;quot;: &amp;quot;https://wxapp.tc.qq.com/251/20304/stodownload?m=b74a1f7abe9979f0dee4135e3fb48666&amp;amp;filekey=30450201010420301e020200fb040253480410b74a1f7abe9979f0dee4135e3fb48666020242aa041e000000046274667300000001310000000861707073746f72650000000131&amp;amp;hy=SH&amp;amp;storeid=32303231303932343230353833303030306133653231303030303030303064653033396430393030303030306662&amp;amp;dotrans=0&amp;amp;bizid=1023&amp;amp;adaptivelytrans=0&amp;quot;,                 &amp;quot;samp_rate&amp;quot;: 17             },             {                 &amp;quot;icon_url&amp;quot;: &amp;quot;https://wxapp.tc.qq.com/251/20304/stodownload?m=c16e28cd8e54a0b6bc1a9ed45bdb5d02&amp;amp;filekey=30450201010420301e020200fb040253480410c16e28cd8e54a0b6bc1a9ed45bdb5d0202025ea7041e000000046274667300000001310000000861707073746f72650000000131&amp;amp;hy=SH&amp;amp;storeid=32303231303932343230353833303030306131633733303030303030303037313737343530393030303030306662&amp;amp;dotrans=0&amp;amp;bizid=1023&amp;amp;adaptivelytrans=0&amp;quot;,                 &amp;quot;samp_rate&amp;quot;: 17             },             {                 &amp;quot;icon_url&amp;quot;: &amp;quot;https://wxapp.tc.qq.com/251/20304/stodownload?m=edd7521d1169e3fb3a155bdf46e5a60f&amp;amp;filekey=30450201010420301e020200fb040253480410edd7521d1169e3fb3a155bdf46e5a60f02026483041e000000046274667300000001310000000861707073746f72650000000131&amp;amp;hy=SH&amp;amp;storeid=32303231303932343230353833303030306134336233303030303030303064346331363130393030303030306662&amp;amp;dotrans=0&amp;amp;bizid=1023&amp;amp;adaptivelytrans=0&amp;quot;,                 &amp;quot;samp_rate&amp;quot;: 16             }         ],         &amp;quot;enable&amp;quot;: 1,         &amp;quot;animation&amp;quot;: [],         &amp;quot;cheer_info_id&amp;quot;: &amp;quot;finderactivity_default_cheer_info_id&amp;quot;     },     &amp;quot;enable_cheer_special_effect&amp;quot;: 1,     &amp;quot;disable_extra_sync_cmds&amp;quot;: [         17,         16,         15,         13,         14,         5,         6,         11     ],     &amp;quot;enable_extra_sync_cmds&amp;quot;: [         10,         8,         2,         18,         1,         3,         4,         7     ],     &amp;quot;fan_club_info&amp;quot;: {         &amp;quot;club_name&amp;quot;: &amp;quot;岚宝&amp;quot;,         &amp;quot;club_created&amp;quot;: true,         &amp;quot;member_count&amp;quot;: 5,         &amp;quot;detail_page_url&amp;quot;: &amp;quot;https://support.weixin.qq.com/cgi-bin/mmfindersupport-bin/newreadtemplate?t=page/outer_page/fans_group_rule&amp;amp;wechat_real_lang=zh_CN&amp;quot;,         &amp;quot;enable_fan_club&amp;quot;: 1,         &amp;quot;default_intimacy&amp;quot;: 2,         &amp;quot;intimacy_refresh_interval&amp;quot;: 10,         &amp;quot;enable_bulletin&amp;quot;: true     },     &amp;quot;is_fan_club_member&amp;quot;: false,     &amp;quot;live_description&amp;quot;: &amp;quot;福建平潭24小时慢直播~&amp;quot;,     &amp;quot;is_assistant_role&amp;quot;: false,     &amp;quot;anchor_switch_flag&amp;quot;: 16642,     &amp;quot;live_function_switch_flags&amp;quot;: 16,     &amp;quot;anchor_live_ext_flag&amp;quot;: 57,     &amp;quot;live_room_img&amp;quot;: {         &amp;quot;voice_live_img&amp;quot;: &amp;quot;http://wx.qlogo.cn/finderhead/Q3auHgzwzM5AObh985ibyfF37ZicbotbggxAgyA7f0drJy3YYDHQryjg/0&amp;quot;,         &amp;quot;img_type&amp;quot;: 0     },     &amp;quot;live_ext_flag&amp;quot;: 10438,     &amp;quot;song_list_info&amp;quot;: {         &amp;quot;singing_song_name&amp;quot;: &amp;quot;&amp;quot;,         &amp;quot;has_live_song_list&amp;quot;: false,         &amp;quot;enable_create_live_songs&amp;quot;: true     },     &amp;quot;resource_preload_info&amp;quot;: {         &amp;quot;preload_flag&amp;quot;: 1     },     &amp;quot;recommend_preload_info&amp;quot;: {         &amp;quot;preload_flag&amp;quot;: 3,         &amp;quot;joinlive_getliverelatedlist_pull_type&amp;quot;: 2     },     &amp;quot;finder_joinlive_trace_buffer&amp;quot;: &amp;quot;CLWy/JKh5azvwgESFwi1svySoeWs78IBEJmlm54GGJmlm54G&amp;quot;,     &amp;quot;promote_ext_info&amp;quot;: {         &amp;quot;skip_report&amp;quot;: false,         &amp;quot;report_delay_interval&amp;quot;: 45     } }</code></pre> <h5>返回参数说明(列举部分)</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">live_info.participant_count</td> <td style="text-align: left;">int</td> <td>看过此直播的总人数</td> </tr> <tr> <td style="text-align: left;">live_cookies</td> <td style="text-align: left;">string</td> <td>后续其他操作会用到</td> </tr> <tr> <td style="text-align: left;">live_info.stream_url</td> <td style="text-align: left;">string</td> <td>直播间流媒体视频</td> </tr> <tr> <td style="text-align: left;">live_info.like_cnt</td> <td style="text-align: left;">int</td> <td>like 数量</td> </tr> <tr> <td style="text-align: left;">promoting_product.title</td> <td style="text-align: left;">string</td> <td>直播标题名称</td> </tr> <tr> <td style="text-align: left;">promoting_product.platform_name</td> <td style="text-align: left;">string</td> <td>主播所属平台名称</td> </tr> <tr> <td style="text-align: left;">promoting_product.img_url</td> <td style="text-align: left;">string</td> <td>直播间产品封面图</td> </tr> <tr> <td style="text-align: left;">live_description</td> <td style="text-align: left;">string</td> <td>直播描述</td> </tr> <tr> <td style="text-align: left;">live_info.live_status</td> <td style="text-align: left;">int</td> <td>直播状态</td> </tr> <tr> <td style="text-align: left;">live_info.start_time</td> <td style="text-align: left;">int</td> <td>直播开始时间戳</td> </tr> <tr> <td style="text-align: left;">live_info.end_time</td> <td style="text-align: left;">int</td> <td>直播结束时间戳 0=尚未结束直播</td> </tr> <tr> <td style="text-align: left;">location.city</td> <td style="text-align: left;">string</td> <td>主播所在城市</td> </tr> <tr> <td style="text-align: left;">fan_club_info.club_name</td> <td style="text-align: left;">string</td> <td>粉丝团名称</td> </tr> <tr> <td style="text-align: left;">fan_club_info.member_count</td> <td style="text-align: left;">int</td> <td>粉丝团数量</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML