Question about screenshots and facebook integration

I havent done any research in this topic but would just like to know if its all doable or not. Lets say I have a unity app (webplayer and for mobile). Then I want the user to be able to save the current view as a picture (print screen). Then a button would a appear saying something like “share image on facebook”. And when clicked, the picture gets saved to the users facebook albums and appear one the users latest news feed.

I havent used the facebook API or unitys www class so I guess it will be kinda tricky.

also posted the question here: http://forum.unity3d.com/threads/95891-Question-about-facebook-intergation

Start researching ; )

In the mean time, it looks like screenshots are possible from Unity:

  1. Take Screen Shot onGUI
  2. JPEG Encoding in Native Unity JavaScript

You’ll then have to use WWW to get it out of the program. For Facebook-specific stuff, you should refer to their documentation.

Please do a search before posting next time, it took all of 2 minutes to find this stuff.