Im using the Twitter API to collect the number of tweets I've favorited, well to be accurate the total pages of favorited tweets.
I grab the XML element 'favorites_count'
For this example lets assume favorites_count=5
You can only get the last 20 favorties using this URL, however you can alter the URL to include a 'page' option by adding:
?page=3 to the end of the favorites URL e.g.
So what I need to do is use CURL (I think) to collect the favorite tweets, but using the URL:
?page=1 ?page=3 ?page=4 etc...
Some kind of loop to visit each URL, and collect the Tweets and then output the cotents.
Can anyone help with this: - Need to use CURL to authenticate - Collect the number of pages of tweets (Already scripted this) - Then use a loop to go through each page URL based on the pages value?