Socket
Book a DemoInstallSign in
Socket

bqq

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bqq

business qq sdk

latest
Source
npmnpm
Version
0.0.10
Version published
Maintainers
3
Created
Source

simple sdk for business qq

useage

var BQQ = require('bqq');
BQQ.init({
  name: 'your app name',
  key: 'app key',
  secret: 'secret key',
  ip: 'you server ip'
  start: 'http[s]://yourhost/callback/when/startUsingBQQ'
})

BQQ.getToken(codeFormBQQ, state, function(err, data){
  if(err) return;
  token = data.data.access_token;
  refreshToken = data.data.refresh_token;
});

var bqq = new BQQ({
  token: 'company_access_token'
  refreshToken: 'refresh_token'
  companyId: 'company_id'
});

bqq.memberList(function(err, data){
  //..
});

FAQs

Package last updated on 13 Dec 2013

Did you know?

Socket

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