问题描述
限时送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:关键词]
发布评论