Nama Keru
Nama Keru

Reputation: 1021

Crawler for Twitter social graph via python

I am sorry for asking but I am new in writing crawler.

I would like to crawl Twitter space for Twitter users and follow relationship among them using python.

Any recommendation for starting points such as tutorials?

Thank you very much in advance.

Upvotes: 1

Views: 7496

Answers (2)

alonisser
alonisser

Reputation: 12068

besides reading the twitter api?

a good starting point would be the great python twitter library by mike verdona which personally I think is the the best one. (also an intorduction here)

also see this question in stackoverflow

Upvotes: 1

Tom van der Woerdt
Tom van der Woerdt

Reputation: 29975

I'm a big fan of Tweepy myself - https://github.com/tweepy/tweepy

You'll have to refer to the Twitter docs for the API methods that you're going to need. As far as I know, Tweepy wraps all of them, but I recommend looking at Twitter's own docs to find out which ones you need.

To construct a following/follower graph, you're going to need some of these:

Upvotes: 2

Related Questions