Taking a screenshot from webplayer and posting it to server

I have a web player project that requires the user to take a screenshot of the current unity scene and then exporting it for sharing (to facebook as a wall post, or to a file that can be saved manually). I searched for similar topics but they seem to be about executable apps taking a screenshot and sending it but not web players.

How can I go about doing that?

there is how to take a screenshot and use the www class to send it to a server.
I’m not sure if it works on the webplayer though.
you will have to test it.

From the doc you linked: