快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

python如何实现用户关注列表

这篇文章主要介绍“python如何实现用户关注列表”,在日常操作中,相信很多人在python如何实现用户关注列表问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”python如何实现用户关注列表”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

专注于为中小企业提供成都做网站、网站建设、外贸营销网站建设服务,电脑端+手机端+微信端的三站合一,更高效的管理,为中小企业保亭黎族免费做网站提供优质的服务。我们立足成都,凝聚了一批互联网行业人才,有力地推动了数千家企业的稳健成长,帮助中小企业通过网站建设实现规模扩充和转变。

抖音用户关注列表Api:

请求Api

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

请求方式

GET

参数

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

返回示例

{
    "code":200,
    "data":{
        "extra":{
            "fatal_item_ids":[
            ],
            "logid":"2020091421494601002802214309181ADB",
            "now":1600091386890
        },
        "followings":[
            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":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
                    "url_list":[
                        "https://p9-dy.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_168x168.webp?from=4010531038",
                        "https://p6-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_168x168.webp?from=4010531038",
                        "https://p3-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_168x168.webp?from=4010531038"
                    ]
                },
                "avatar_300x300":{
                    "uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
                    "url_list":[
                        "https://p3-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_300x300.webp?from=4010531038",
                        "https://p6-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_300x300.webp?from=4010531038",
                        "https://p9-dy.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_300x300.webp?from=4010531038"
                    ]
                },
                "avatar_larger":{
                    "uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
                    "url_list":[
                        "/upload/otherpic66/247872.jpg?from=4010531038",
                        "/upload/otherpic66/247876.jpg?from=4010531038",
                        "/upload/otherpic66/247878.jpg?from=4010531038"
                    ]
                },
                "avatar_medium":{
                    "uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
                    "url_list":[
                        "/upload/otherpic66/247881.jpg?from=4010531038",
                        "/upload/otherpic66/247886.jpg?from=4010531038",
                        "/upload/otherpic66/247887.jpg?from=4010531038"
                    ]
                },
                "avatar_thumb":{
                    "uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
                    "url_list":[
                        "/upload/otherpic66/247888.jpg?from=4010531038",
                        "/upload/otherpic66/247892.jpg?from=4010531038",
                        "/upload/otherpic66/247894.jpg?from=4010531038"
                    ]
                },
                "avatar_uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
                "bind_phone":"",
                "bio_info_permission":0,
                "birthday":"2017-01-01",
                "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":"CCTV-1《经典咏流传》节目官方抖音账号",
                "follow_status":0,
                "follower_status":0,
                "gender":2,
                "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":"MS4wLjABAAAA-CA-lq0X19hfiIPG6wA19xuXTJre1JrQX2jVD79OgRg",
                "secret":0,
                "share_qrcode_uri":"80fa0024ca1dc388297d",
                "shield_comment_notice":0,
                "shield_digg_notice":0,
                "shield_follow_notice":0,
                "short_id":"926253136",
                "signature":"文以载道,歌以咏志!",
                "special_lock":1,
                "status":1,
                "story_open":false,
                "twitter_id":"",
                "twitter_name":"",
                "type_label":[
                    189,
                    6766427600769255000
                ],
                "uid":"98297838633",
                "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":"2020091421494601002802214309181ADB"
        },
        "max_time":1597329058,
        "min_time":1557925977,
        "myself_user_id":"0",
        "offset":0,
        "rec_has_more":false,
        "status_code":0,
        "total":27
    },
    "msg":"success"
}

到此,关于“python如何实现用户关注列表”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联网站,小编会继续努力为大家带来更多实用的文章!


分享题目:python如何实现用户关注列表
文章源于:http://6mz.cn/article/jpcphg.html

其他资讯