0.3.5 • Published 7 years ago

networks-module v0.3.5

Weekly downloads
-
License
UNLICENSED
Repository
bitbucket
Last release
7 years ago

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) {
    //
});