Instagram

Contents

Share a photo with the instagram app

Installation

ionic cordova plugin add cordova-instagram-pluginnpm install @ionic-native/instagram
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/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));