Skip to content

itibbers/weibo-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published