websocket topic post cookies
-
I want to use socket.io client Post My topic to my website.
I find nodebb post code:
if (parseInt(postData.cid, 10) > 0) { socket.emit('topics.post', { title: titleEl.val(), content: bodyEl.val(), topic_thumb: thumbEl.val() || '', category_id: postData.cid }, done);
How I do get cookies(login user info). use by socket.io client.
-
Not sure what you're trying to do - publish topics to NodeBB from another software?
Wonder if this will help you: https://github.com/psychobunny/nodebb-plugin-blog-commentsLets you post a new topic (or reply to topics) from Ghost. I want to do WP in the future as well
Copyright © 2024 NodeBB | Contributors