网站建设资讯

NEWS

网站建设资讯

python怎么实现用户粉丝列表

本篇内容介绍了“python怎么实现用户粉丝列表”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

成都创新互联公司专业为企业提供眉县网站建设、眉县做网站、眉县网站设计、眉县网站制作等企业网站建设、网页设计与制作、眉县企业网站模板建站服务,10多年眉县做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

抖音用户粉丝列表Api:

请求Api

http://主机地址/douyin/user/followers?token=xxx&uid=100000004548&cursor=0

请求方式

GET

参数

字段类型说明
tokenstring接口授权码
uidint用户id
cursorint翻页游标,根据结果返回的cursor传入作为下一页翻页参数,初始为0

返回示例

{
    "code":200,
    "data":{
        "extra":{
            "fatal_item_ids":[
            ],
            "logid":"202009142151020100280680710A1CF23D",
            "now":1600091462958
        },
        "followers":[
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            {
                "accept_private_policy":false,
                "account_region":"",
                "apple_account":0,
                "authority_status":0,
                "avatar_168x168":{
                    "uri":"2e1ff00057231301091e1",
                    "url_list":[
                        "https://p9-dy.byteimg.com/img/2e1ff00057231301091e1~c5_168x168.webp?from=4010531038",
                        "https://p26-dy.byteimg.com/img/2e1ff00057231301091e1~c5_168x168.webp?from=4010531038",
                        "https://p6-dy-ipv6.byteimg.com/img/2e1ff00057231301091e1~c5_168x168.webp?from=4010531038"
                    ]
                },
                "avatar_300x300":{
                    "uri":"2e1ff00057231301091e1",
                    "url_list":[
                        "https://p3-dy-ipv6.byteimg.com/img/2e1ff00057231301091e1~c5_300x300.webp?from=4010531038",
                        "https://p26-dy.byteimg.com/img/2e1ff00057231301091e1~c5_300x300.webp?from=4010531038",
                        "https://p9-dy.byteimg.com/img/2e1ff00057231301091e1~c5_300x300.webp?from=4010531038"
                    ]
                },
                "avatar_larger":{
                    "uri":"2e1ff00057231301091e1",
                    "url_list":[
                        "/upload/otherpic53/247917.jpg",
                        "/upload/otherpic53/247918.jpg",
                        "/upload/otherpic53/247919.jpg"
                    ]
                },
                "avatar_medium":{
                    "uri":"2e1ff00057231301091e1",
                    "url_list":[
                        "/upload/otherpic53/247920.jpg",
                        "/upload/otherpic53/247921.jpg",
                        "/upload/otherpic53/247922.jpg"
                    ]
                },
                "avatar_thumb":{
                    "uri":"2e1ff00057231301091e1",
                    "url_list":[
                        "/upload/otherpic53/247923.jpg",
                        "/upload/otherpic53/247924.jpg",
                        "/upload/otherpic53/247925.jpg"
                    ]
                },
                "avatar_uri":"2e1ff00057231301091e1",
                "bind_phone":"",
                "bio_info_permission":0,
                "birthday":"",
                "birthday_hide_level":0,
                "comment_filter_status":0,
                "comment_setting":0,
                "commerce_user_level":0,
                "constellation":0,
                "cover_url":[
                    {
                        "uri":"c8510002be9a3a61aad2",
                        "url_list":[
                            "http://p1-dy.byteimg.com/obj/c8510002be9a3a61aad2",
                            "http://p3-dy.byteimg.com/obj/c8510002be9a3a61aad2",
                            "http://p3-dy.byteimg.com/obj/c8510002be9a3a61aad2"
                        ]
                    }
                ],
                "create_time":0,
                "custom_verify":"",
                "cv_level":"",
                "default_download_setting":0,
                "download_prompt_ts":0,
                "download_setting":0,
                "duet_setting":0,
                "enterprise_verify_reason":"",
                "follow_status":0,
                "follower_status":0,
                "gender":0,
                "geofencing":[
                ],
                "google_account":"",
                "has_email":false,
                "has_insights":false,
                "has_orders":false,
                "hide_location":false,
                "hide_search":false,
                "ins_id":"",
                "is_ad_fake":false,
                "is_binded_weibo":false,
                "is_gov_media_vip":false,
                "is_mirror":false,
                "is_phone_binded":false,
                "is_star_atlas":0,
                "is_verified":false,
                "language":"",
                "live_agreement":0,
                "live_agreement_time":0,
                "live_commerce":false,
                "live_verify":0,
                "need_recommend":0,
                "neiguang_shield":0,
                "nickname":"我是大笨蛋",
                "original_music_cover":null,
                "original_music_qrcode":null,
                "policy_version":[
                ],
                "prevent_download":false,
                "react_setting":0,
                "reflow_page_gid":0,
                "reflow_page_uid":0,
                "region":"CN",
                "room_id":0,
                "school_name":"",
                "school_poi_id":"",
                "school_type":0,
                "sec_uid":"MS4wLjABAAAAF4g0GM09sHOCFCyyiOfCnJ4ICKnhnb6Z8H-tbV7B0j4",
                "secret":0,
                "share_qrcode_uri":"2e1ff0005726d8c353243",
                "shield_comment_notice":0,
                "shield_digg_notice":0,
                "shield_follow_notice":0,
                "short_id":"631858119",
                "signature":"",
                "special_lock":1,
                "status":1,
                "story_open":false,
                "twitter_id":"",
                "twitter_name":"",
                "type_label":[
                ],
                "uid":"94723618311",
                "unique_id":"",
                "unique_id_modify_time":1550569152,
                "user_canceled":false,
                "user_mode":0,
                "user_period":0,
                "user_rate":1,
                "user_rate_map":{
                },
                "verification_type":1,
                "verify_info":"",
                "video_icon":{
                    "uri":"",
                    "url_list":[
                    ]
                },
                "video_icon_virtual_URI":"",
                "weibo_name":"",
                "weibo_schema":"",
                "weibo_url":"",
                "weibo_verify":"",
                "with_commerce_entry":false,
                "with_fusion_shop_entry":false,
                "youtube_channel_id":"",
                "youtube_channel_title":""
            }
        ],
        "has_more":true,
        "hotsoon_has_more":0,
        "hotsoon_text":"",
        "log_pb":{
            "impr_id":"202009142151020100280680710A1CF23D"
        },
        "max_time":1600091460,
        "min_time":1600091429,
        "myself_user_id":"92913294066",
        "offset":0,
        "rec_has_more":false,
        "status_code":0,
        "total":96004297
    },
    "msg":"success"
}

“python怎么实现用户粉丝列表”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注创新互联网站,小编将为大家输出更多高质量的实用文章!


网站题目:python怎么实现用户粉丝列表
本文来源:http://njwzjz.com/article/gehpid.html