An open API service indexing awesome lists of open source software.

https://github.com/itibbers/weibo-post

Post weibo on node.
https://github.com/itibbers/weibo-post

node post weibo

Last synced: 7 months ago
JSON representation

Post weibo on node.

Awesome Lists containing this project

README

          

# weibo-post

Post weibo text from https based on node.

## Usage

Using npm:
```shell
$ npm i --save-dev weibo-post
```

In Node.js:
```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](./images/cookie.png)

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