I need to download ALL tweets from my list of 5k twitter users (I have their ID's + screenname) into textfile/s in order to later search through all the content to find specific data. One of ideas was creating a PHP curl script that will grab data off website called allmytweets(dot)net which basically displays all tweets published by user. The main problem is that their page is divided into pages, you need to scroll down for it to show the next page which could cause problems for the curl script. Is there any other simpler/more effective way of doing this?
If you know who they are you can access their feeds one by one and download that. Sounds painful but when you do it from a script it's not so bad.
As someone who has done similar things in the past (not the same site) this is very doable, but you better use the API, or inspect the element and see what happens when you scroll down the page. It is most likely sending a request with numbers like getTweet/?page=... from that you can fetch more