Home

Awesome

ionic2-fb-gallery

Facebook gallery photo picker for Ionic 2

Installation

$ ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"

Find more details here https://ionicframework.com/docs/v2/native/facebook/

Usage

    constructor( private socialApi:SocialApiService ) {
        this.socialApi.subscribeToStatusChange( ()=>{ /* onApiReady(); */  }, SocialApiService.getApiStatus_appUser() );
        this.socialApi.init();
    }

This plugin use ionic2-fb-api plugin to connect with Facebook. Please take a look to ionic2-fb-api documentation for more info.

DEMO

ionic2-fb-api DEMO

Thats all.