add 3 lines to
connOptions in mogo.js
ssl: true, authSource: 'admin', replicaSet:'Cluster1-shard-0'
Heroku keep crashing and restart, even with
echo web: node app.js > Procfile and nodejs engine
@deha: I agree, with the write api plugin you should be able to solve your problem. There is even a python library available: https://pypi.python.org/pypi/pynodebb/. It is quite old but still works with up to date nodebb. Unfortunately, not all api calls are yet implemented, but it is easy (and quite obvious) to extend it.
Take a look at https://github.com/NodeBB/nodebb-plugin-write-api
Is there any way to publish content without click "new topic" button and copy paste?
Say I have a post like:
content: "test content",
tags: ['tag1', "tag2"]
in python, Can I send a post request to nodebb to save this post? or write it directly to mongoDb?
Looks like your connection to NodeBB was lost, please wait while we try to reconnect.