Socket
Socket
Sign inDemoInstall

fanburst-api

Package Overview
Dependencies
50
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fanburst-api

Fanburst Api for Node.js


Version published
Weekly downloads
5
Maintainers
1
Install size
5.67 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 23 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc