1.0.1 • Published 6 years ago

weibo-post v1.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

weibo-post

Post weibo text from https based on node.

Usage

Using npm:

$ npm i --save-dev weibo-post

In Node.js:

var weiboPost = require('weibo-post');

weiboPost.setCookie('your weibo login cookie');
weiboPost.post('your post content');

How to get weibo cookie?

How to get cookie

1. Open weibo.com by Chrome.
2. Tap F12 to open Terminal, change to Network tab.
3. Post a weibo, follow the image indicate.