如何通过 Twitter API 拉取已验证帐户列表?

编程入门 行业动态 更新时间:2024-10-22 05:05:59
本文介绍了如何通过 Twitter API 拉取已验证帐户列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

可能的重复:
如何在 Twitter 上搜索已验证帐户的帖子只有?

如何通过 Twitter API 在 Twitter 上拉取名人列表?

How can I pull the list of celebrities on Twitter via the Twitter API?

好像有办法通过 API 来实现,但是当我查看文档时,却没有找到.

It looks like there's a way to do it through the API, but when I go to the documentation, I do not find it.

以下是一个包​​含所有艺人的网站示例:

Here is an example of a website with all the entertainers:

http://www.twellow/categories/entertainment

我想知道他们是怎么做到的.

I am wondering how they did it.

推荐答案

你必须使用那里的 api 来做这里是链接

You have to use there api for do this here is the link

https://dev.twitter/docs/api/1.1/get/statuses/user_timeline

您可以这样调用查询,其中screen_name 是您想要的名人的名字,count 是您想要检索最多 200 条推文的数量

You can call query like this where screen_name is the name of the celebrity that you want and count for how much tweets you want to retrive max 200

https://api.twitter/1.1/statuses/user_timeline.json?screen_name=twitterapi&count=2

这篇关于如何通过 Twitter API 拉取已验证帐户列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-29 15:57:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1192116.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:帐户   列表   Twitter   API   拉取已

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!