Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 481 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 481 Bytes

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.