Making it upload to a site

So i found this lua thingy on here that takes a screenshot of a players screen and then creates a HTML image on your screen, of the players screen.

So what i want it to do, is to upload it to a site like imgur instead, and then print a message to you with the link. Is this possible?

Here’s the 3 lua files that came with it: