vk
读写 vk 数据
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 社交
- 文档 / URL
- https://vk.com/dev/sites
简介
VK 提供 VKontakte API——基于 OAuth(缺少 token 返回 HTTP 200 带 error_code 15,已实测)。
快速开始
用户(需要 token):
curl "https://api.vk.com/method/users.get?v=5.131" \
-H "Authorization: Bearer YOUR_TOKEN"
{ "error": { "error_code": 15, "error_msg": "Access denied: token required" } }
认证方式
- VK 应用 → OAuth 2.0 token。
- 通过请求头/参数发送(缺失 → 200 + error 15,已实测)。
⚠️ 坑(已实测):缺少 token 返回 HTTP 200 带
error_code 15——请检查error。
速率限制与注意事项
- 免费层带限额(看文档)。
- 用户、墙、消息。
常见问题
VK 免费吗? 免费层带限额;更多需要付费。
为什么 200 却带 error 15?
缺少 token 返回 200 + error(已实测)——请检查 error。
认证风格是什么? OAuth 2.0。
社交 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 4chan Simple image-based bulletin board dedicated to a variety of topics | No auth | Yes | Yes | ↗ |
| Ayrshare Social media APIs to post, get analytics, and manage multiple users social media accounts | API Key | Yes | Yes | ↗ |
| aztro Daily horoscope info for yesterday, today, and tomorrow | No auth | Yes | Unknown | ↗ |
| Blogger The Blogger APIs allows client applications to view and update Blogger content | OAuth | Yes | Unknown | ↗ |
| Bluesky Decentralized social networking via the AT protocol | No auth | Yes | Yes | ↗ |