Screenshotting Final Product for Social Media Sharing

I’m creating a game in Unreal 4.23 that is intended to be HTML5 and embedded into my website. Once the player has completed a game, I would like the game to screenshot the last screen and send it to me on the website backend. I would also like the user to be able to click a button and share the screenshot/ link to website on any social media platform they would like.

I’m not super familiar with working in HTML, so I don’t know if this is a complicated process or not. Does anyone know a good way to achieve what I’m looking for?