weibo-post

1.0.1 • Public • Published

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.

/weibo-post/

    Package Sidebar

    Install

    npm i weibo-post

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    479 kB

    Total Files

    5

    Last publish

    Collaborators

    • ryanji