Instagram

Contents

Share a photo with the instagram app

https://github.com/vstirbu/InstagramPlugin

Stuck on a Cordova issue?

Installation

Community Enterprise
ionic cordova plugin add cordova-instagram-plugin npm install @ionic-native/instagram
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/instagram

Supported Platforms

  • Android
  • iOS

Usage

import { Instagram } from '@ionic-native/instagram/ngx';

constructor(private instagram: Instagram) { }

...

this.instagram.share('data:image/png;uhduhf3hfif33', 'Caption')
  .then(() => console.log('Shared!'))
  .catch((error: any) => console.error(error));