Schedule Post?
-
Hi I'm trying to build a mechanism that post code-generated post on nodebb.
Since I didn't find any schedule related plugin, I'm up to write my own script using node-schedule.
Now I'm wondering if there's any easy-to-use api for nodebb that I can use in my node script to post new topics?
-
In your module library, you can just hook into the Topics library like so:
var Topics = module.parent.require('./topics'); Topics.post(...
-
Did you manage to build a plugin? I'd be interested in this. Thanks!
Suggested Topics
Copyright © 2018 NodeBB | Contributors