Share image to facebook

Hello guys,

I want to share my image on facebook after take from camera, I have researched many tutorial but still not done.

My expectation:

  • After take image from camera, I have button “Share on Facebook”.
  • And when I click to button, my app open Facebook app. (You can see my example below in picture)
  • If I have logged, my post to share image was auto created, else login first.

Please help me!

After you take the photo, I believe you use the Camera plugin, you can use another plugin that make this a lot easier: The Photo Viewer plugin, which have a built-in function to share the image in some social networks installed on the device.