Comments (1)
对评论的点赞
示例
POST https://api.bilibili.com/x/v2/reply/action HTTP/1.1
access_key: 2848494192f8ab0ffe3c09d5bd367f21
action: 1
appkey: 1d8b6e7d45233436
build: 5370000
channel: html5_app_bili
mobi_app: android
oid: 43670232
platform: android
rpid: 1390727249
ts: 1550743298
type: 1
sign: 9218c66bfeebb92c99f61e274842cac9
URLEncoded Form
action 为 1 时是点赞, 0 为取消点赞
oid 即 aid, av 号, 视频的唯一标识.
rpid 是 replyId, 评论的唯一标识.
对视频的点赞
示例
POST https://app.bilibili.com/x/v2/view/like HTTP/1.1
access_key: 2848494192f8ab0ffe3c09d5bd367f21
aid: 43670232
appkey: 1d8b6e7d45233436
build: 5370000
channel: html5_app_bili
dislike: 0
from: 7
like: 0
mobi_app: android
platform: android
ts: 1550743574
sign: 595a8277416e14133ebcfa270d763665
URLEncoded Form
aid 同上
这个接口的两个参数 like 和 dislike, dislike 永远为 0.
like 如果为 0, 表示点赞, 为 1 表示取消点赞.
另一个接口是 POST https://app.bilibili.com/x/v2/view/dislike HTTP/1.1
参数一模一样.
在这个接口中, like 永远为 0, dislike 为 0 表示不喜欢, 为 1 表示取消不喜欢.
可以在不喜欢的同时取消点赞(dislike 接口), 此时 like 为 1, dislike 为 0.
签名算法见隔壁 #10
from bilibili-api.
Related Issues (20)
- 添加依赖后出错。。 HOT 1
- 请求提供说明文档 HOT 3
- 您好,我这里在你的model里加了根据roomId去“打开直播”和“关闭直播”,能否提到你的分支上? HOT 3
- 这个库有没有安卓版本限制呢? HOT 9
- 请教关于接口的使用 HOT 16
- 请求提供获取视频信息API HOT 3
- java的怎么不更新了呀 HOT 1
- 关于VcAPI中“意义不明”的dynamic_num接口的意义 HOT 1
- 获取到视频后怎么播放呢 HOT 3
- player-loader-1.8.2.min.js 有写live sub 消息格式 HOT 7
- 登录失败或验证码错误时无法获取错误信息 HOT 4
- 个人信息接口中的硬币数可能为小数 HOT 2
- 获取满级用户的主页时抛出异常 HOT 5
- 缺少动态(首页 -> 动态) API HOT 1
- bug 登录时未抛出异常 HOT 4
- DanmakuParser 在 Android 9 上出现错误(ERROR) HOT 1
- 带验证码登录返回-2001 HOT 2
- 能获取到4k视频吗? HOT 1
- 登录API无法使用,返回了错误信息 HOT 7
- 老哥求助版本不同 appkey和盐值不同 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bilibili-api.