Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

mweibo-api

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mweibo-api

m.weibo.cn apis

latest
npmnpm
Version
0.0.10
Version published
Maintainers
1
Created
Source

微博移动端接口

登录

登录接口需要先下载 chromedriver 并设置环境变量

import mweiboApi from 'mweibo-api';
const cookies = await mweiboApi.login('username', 'password');

点赞

import mweiboApi from 'mweibo-api';
const cookies = await mweiboApi.like('weiboId', 'cookie');

注意此处 cooike 为字符串

评论

import mweiboApi from 'mweibo-api';
const cookies = await mweiboApi.comment('weiboId', 'cookie', 'comment');

注意此处 cooike 为字符串

Keywords

m.weibo.cn

FAQs

Package last updated on 01 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts