Negligent Parachute Maintainers
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    meltpublic

    Melt

    build status

    How to send a tweet + status update

    var Melt = require('melt');
    
    var networks = {
      twitter: {
        consumer_key: 'your',
        consumer_secret: 'keys',
        access_token_key: 'go',
        access_token_secret: 'here'
      },
      facebook: {
        token: 'access token'
      }
    }
    
    var melt = new Melt(networks);
    
    var message = "Split open and step into the freezer.";
    
    melt.tweet(message, function(err, data) {
      console.log(data);
    });
    
    melt.updateStatus(message, function(err, data) {
      console.log(data);
    });
    

    Keywords

    none

    install

    npm i melt

    Downloadslast 7 days

    6

    version

    0.1.2

    license

    none

    last publish

    collaborators

    • avatar