I am working on a Facebook app. but i got a problem with image sharing on Facebook. I know how to take a snapshot of canvas. but i was unable to save this snapshot into a folder in server (in same location) and share on Facebook. Please let me know if anyone know how to save a snapshot into a folder and share it on Facebook just by one click.