lib/api/topics.js

Up one level

Topics API

See also Topics CLI

var Promise = require('bluebird'); module.exports = function Topics(config) {

follow

Follow a topic.

Signature:

Disqus#topics.follow(options[, cb])

Usage:

Method not yet implemented.
this.follow = function (options, cb) { return Promise.resolve({}) .then(function (qs) { options = options || {}; qs.api_key = options.api_key || config.api_key; throw new Error('Not yet implemented!'); }).nodeify(cb); };

listFollowers

Returns a list of users following a topic.

Signature:

Disqus#topics.listFollowers(options[, cb])

Usage:

Method not yet implemented.
this.listFollowers = function (options, cb) { return Promise.resolve({}) .then(function (qs) { options = options || {}; qs.api_key = options.api_key || config.api_key; throw new Error('Not yet implemented!'); }).nodeify(cb); };

unfollow

Unfollow a topic.

Signature:

Disqus#topics.unfollow(options[, cb])

Usage:

Method not yet implemented.
this.unfollow = function (options, cb) { return Promise.resolve({}) .then(function (qs) { options = options || {}; qs.api_key = options.api_key || config.api_key; throw new Error('Not yet implemented!'); }).nodeify(cb); }; };