Historical counts of Twitter Measures


#1

I am student and I am interested to know the statistics of some of the pages on twitter. Eg. Say I want to know the number of tweets, followers measures for different public twitter pages in 2014. I am not a developer but a social science researcher so a detailed explanation would be nice. Thanks in advance!


#2

Currently this isn’t possible. The only way to get that kind of data is to gather it your self over time: Using the API, it’s possible to get all that information: https://dev.twitter.com/rest/reference/get/users/lookup you’d then store the results and calculate changes in tweets / followers etc over time.

R, Python have libraries that make working with the API easier.

Worth asking other #socsci people on twitter - maybe someone else has a useful dataset.


#3

Ok thank you for your suggestion. But, Is it possible with R to get such data?

Regards


#4

In twitteR library https://github.com/geoffjentry/twitteR there’s lookupUsers() that calls https://dev.twitter.com/rest/reference/get/users/lookup (It should handle rate limits & splitting a set of user ids into batches of 100 for the API so you don’t have to)

Using that, you can lookup a set of users once every few days / hours, storing the results with a timestamp - and then compare those over time for changes in tweets / followers (user objects have counts of tweets and followers in there).