Scrape Total Likes/Comments of a IG/TW page?

Hello everyone!

I was wondering if anyone knows a way to scrape the total amount of Likes and comments a page has? Both for IG and something to also scrape the favorites/retweets or even mentions of a profile on twitter would be awesome too!