0

getting Twitter date ranges

Hi Klipfolio,

I'm sourcing data from our Twitter account but I would like to represent the data (number of followers, number of friends, number of favourites) as an ongoing trend line. I've tried a number of different ways to write the query to capture the data from 12 months ago up until today and beyond, but I'm not having any success. I did find a reference to one article that might have helped but the article is no longer available.

Can anyone help with what the query for any one of the data sets above should look like?

 

Thanks,

Corey

1 comment

  • Avatar
    Parker Selman Official comment

    Hi Corey, 

    Thanks for the post! 

    Unfortunately, Twitter's API is rather limited in the date range of data it can return, and thus you can only return current values for followers, friends, and favourites. With that in mind, you can use the below query to return that data;

    https://api.twitter.com/1.1/users/lookup.json?screen_name=*your screen name*

    I also want to add that while you won't be able to return past values for your metrics, you can use PowerMetrics to track the metrics going forward. PowerMetrics record your data history over time, allowing you to return the current value for your twitter metrics every day to generate a trendline. 

    I hope this helps! If you have any questions, feel free to submit a ticket to support@klipfolio.com 

    Best,

    Parker


Please sign in to leave a comment.