networks-module

0.3.5 • Public • Published

Networks Module

Configuring


var $network = require('networks-module');

$network.init({
    facebook: {
    
    },
    twitter: {
    
    },
    linkedin: {
    
    }
});


$network.publish({
    // required [facebook, twitter, linkedin]
    network: 'facebook',
    
    // The type of post
    type: 'image',
    
    // The description/message
    message: 'test',
    
    // Asset that this post is going to be published to
    asset: {}
    
}).then(function (respond, warning) {
    //
}, function (error) {
    //
});

Package Sidebar

Install

npm i networks-module

Weekly Downloads

0

Version

0.3.5

License

UNLICENSED

Last publish

Collaborators

  • riyaad.miller