Skip to content

shabanovtg/fanburst-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fanburst-api

Fanburst Api for Node.js

  • get user profile
  • following
    • contains
    • add (follow)

Install

$ npm install fanburst-api

Usage

var FanburstApi = require('fanburst-api');
var fanburstApi = new FanburstApi();

Note: You can get accessToken with help passport-fanburst

Get user profile

fanburstApi.me(accessToken, function(err, result) {
  if (err) {
    //...
  } else {
    //...
  }
});

Following

Contains

fanburstApi.followingContains(followingId, accessToken, function(err, result) {
  if (err) {
    //...
  } else {
    //...
  }
});

Add

fanburstApi.followingAdd(followingId, accessToken, function(err, result) {
  if (err) {
    //...
  } else {
    //...
  }
});

About

Fanburst Api for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published