Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 594 Bytes

File metadata and controls

28 lines (19 loc) · 594 Bytes

hootsuite-rest

A node client for Hootsuite's REST API.

Usage

Installation

npm install hootsuite-rest --save

Creating a connection

You will first need to obtain your OAuth information from Hootstuite, they have a guide out to get you started. In short, you will need to get the client id and client secret.

var Hootsuite = require('hootsuite-rest');

var hootsuite = new Hootsuite({
  clientId: 'client id',
  clientSecret: 'client secret'
});

hootsuite.me.get()
  .then(function(data) {
  });