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.
- Host: GitHub
- URL: https://github.com/itibbers/weibo-post
- Owner: itibbers
- License: mit
- Created: 2018-02-15T06:53:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T09:11:56.000Z (over 7 years ago)
- Last Synced: 2024-10-11T15:39:05.598Z (about 1 year ago)
- Topics: node, post, weibo
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/weibo-post
- Size: 445 KB
- Stars: 20
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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*?

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