简体   繁体   English

我如何才能在Twitter上吸引用户的关注者,然后在一段时间内从这些关注者那里获取帖子,以便创建数据库?

[英]How can I get the followers of a user on twitter, then get posts from those followers over a period of time so i can create a database?

I've been assigned a research project to enhance social networking based adaptive e-learning and to do so I need to be able to extract several (hundreds, maybe thousands) of status updates or tweets in order to perform factor analysis on key words. 我被分配了一个研究项目,以增强基于社交网络的自适应电子学习,为此,我需要能够提取几个(数百个,甚至数千个)状态更新或推文,以便对关键词进行因子分析。 Apparently this can be done with javascript but I have never used javascript before so I'm a bit lost. 显然,这可以使用javascript来完成,但是我以前从未使用过javascript,所以我有点迷路。 I know I need a Twitter API but not sure even how to use one. 我知道我需要一个Twitter API,但也不确定如何使用。 Anybody have any idea how I can do this? 有人知道我该怎么做吗?

use statuses/followers for getting all followers of a user and statuses/friends_timeline to get tweets by your friend. 使用状态/关注者来获取用户的所有关注者,使用状态/ friends_timeline来获取您朋友的推文。 Response will be in JSON or XML format which can be parsed and used very easily. 响应将采用JSON或XML格式,可以很容易地对其进行解析和使用。

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0followers http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0关注者

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-friends_timeline http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-friends_timeline

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM