如何通过 Twitter API 拉取已验证帐户列表? [英] How to pull the list of verified accounts via Twitter API?

查看:39
本文介绍了如何通过 Twitter API 拉取已验证帐户列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
如何在 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.com/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.com/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.com/1.1/statuses/user_timeline.json?screen_name=twitterapi&count=2

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆