Follow a topic.
Signature:
Disqus#topics.follow(options[, cb])
Usage:
// Node-style
disqus.topics.follow({
target: 'targetId'
}, function (err, result) {...})
// Promise-style
disqus.topics.follow({
target: 'targetId'
})
.then(function (result) {...})
.catch(function (err) {...})
.error(function (err) {...});
Returns a list of users following a topic.
Signature:
Disqus#topics.listFollowers(options[, cb])
Usage:
// Node-style
disqus.topics.listFollowers({
topic: 'topicId',
cursor: null,
since_id: null,
limit: 25,
order: 'asc'
}, function (err, result) {...})
// Promise-style
disqus.topics.listFollowers({
topic: 'topicId',
cursor: null,
since_id: null,
limit: 25,
order: 'asc'
})
.then(function (result) {...})
.catch(function (err) {...})
.error(function (err) {...});
Unfollow a topic.
Signature:
Disqus#topics.unfollow(options[, cb])
Usage:
// Node-style
disqus.topics.unfollow({
target: 'targetId'
}, function (err, result) {...})
// Promise-style
disqus.topics.unfollow({
target: 'targetId'
})
.then(function (result) {...})
.catch(function (err) {...})
.error(function (err) {...});
Up one level
Topics API
See the disqus-node Topics CLI.
See the Topics API on Disqus.com.