Image Sharing

Learn how to share an image

For sharing an image, you need to pass the path of the image to StoryContent instance

StoryContent content = new StoryContent ("PATH_TO_IMAGE_FILE", false);

Passing false to StoryContent instance indicates the file passed is an image

Share the StoryContent on Instagram

InstagramKitManager.Share(content, OnShareComplete); //OnShareComplete is callback method

Image passed can be of JPG or PNG format.

‚Äč

Example