You don't need all of this. All what you need is to request your data from twitter (Your Tweet archive
> https://twitter.com/settings/account). Iterate through the csv file and use tweet_id to unlike, remove or do what you want through their Twitter API.
Source: I have done it before, and it took less time/work than what you have stated.