Is it possible to take a picture and then upload it on Facebook?

As you can see from the title my question is very simple: I just want to know if it is possible to take a picture using the camera on device and then upload it on Facebook.

Thanks!

It is yeah.

If you do a google search for “coronalabs blog upload image to facebook”, you should find a great tutorial on the corona blog that shows you how to do this.

If you are a pro subscriber, you could also use the Social Plugin to make it even easier

Hi lorenzoestienne4

You can use this 

media.capturePhoto({listener = sessionComplete, destination = {baseDir=system.TemporaryDirectory, filename=“image.png”, type=“image”} } )

In  sessionComplete function you can write code for Facebook share.

Regards,

Sptechnolab Team

Thank you both! I successfully posted a picture on facebook!

Best regards.

It is yeah.

If you do a google search for “coronalabs blog upload image to facebook”, you should find a great tutorial on the corona blog that shows you how to do this.

If you are a pro subscriber, you could also use the Social Plugin to make it even easier

Hi lorenzoestienne4

You can use this 

media.capturePhoto({listener = sessionComplete, destination = {baseDir=system.TemporaryDirectory, filename=“image.png”, type=“image”} } )

In  sessionComplete function you can write code for Facebook share.

Regards,

Sptechnolab Team

Thank you both! I successfully posted a picture on facebook!

Best regards.