{"id":22540257,"url":"https://github.com/werbhelius/pixel-api","last_synced_at":"2025-07-31T19:34:02.562Z","repository":{"id":96548009,"uuid":"90748029","full_name":"werbhelius/Pixel-Api","owner":"werbhelius","description":"Pixel-Web Server !","archived":false,"fork":false,"pushed_at":"2017-06-12T13:23:50.000Z","size":913,"stargazers_count":67,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T23:35:57.104Z","etag":null,"topics":["express","nodejs","vue","weibo"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/werbhelius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-09T13:19:49.000Z","updated_at":"2024-01-04T16:13:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"2595b1b4-28d6-4fc6-acde-ee11e035a95e","html_url":"https://github.com/werbhelius/Pixel-Api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werbhelius%2FPixel-Api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werbhelius%2FPixel-Api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werbhelius%2FPixel-Api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werbhelius%2FPixel-Api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/werbhelius","download_url":"https://codeload.github.com/werbhelius/Pixel-Api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119419,"owners_count":21050754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","nodejs","vue","weibo"],"created_at":"2024-12-07T12:10:19.362Z","updated_at":"2025-04-09T21:44:33.091Z","avatar_url":"https://github.com/werbhelius.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pixel-Api\n\n* 为解决 Vue 微博客户端 [Pixel-Web](https://github.com/Werb/Pixel-Web) 跨域问题写的 Node 服务器\n* Github项目地址：[https://github.com/Werb/Pixel-Api](https://github.com/Werb/Pixel-Api)\n* 欢迎关注我的微博：[wanbo-](http://weibo.com/singerwannber)\n\n## Server\n* 使用 Nodejs + Express 开发\n* 实现 Oauth登录，查看最新微博，查看单条微博评论，个人主页，我的关注，我的粉丝，发微博以及四种消息（@我的微博，@我的评论，收到的评论，发出的评论）\n* 后续接口我会继续开发，同时欢迎 Pull Request！\n\n## Run\n\n`npm install`\n`node app.js`\n\n\n## Api\n\n### access_token\n[POST /oauth2/access_token](./router/oauth_login.js)  获取 Oauth2 token\n\n### weibos\n[GET /statuses/home_timeline.json](./router/home_timeline.js)  获取当前登录用户及其所关注用户的最新微博\n\n[GET /statuses/public_timeline.json](./router/public_timeline.js)  获取最新的公共微博\n\n[GET /statuses/user_timeline.json](./router/my_content.js)  获取用户发布的微博\n\n### users\n[GET /users/show.json](./router/userInfo.js)  获取用户信息\n\n### comments\n[GET /comments/show.json](./router/content_comments.js)  获取某条微博的评论列表\n\n### send weibo\n[POST /statuses/update.json](./router/send_text.js)  发布一条微博信息\n\n[POST /statuses/upload.json](./router/send_image.js)  上传图片并发布一条微博\n\n### notify\n[GET /statuses/mentions.json](./router/at_me_statuses.js)  获取@当前用户的最新微博\n\n[GET /comments/mentions.json](./router/at_me_comments.js)  获取@到我的评论\n\n[GET /comments/to_me.json](./router/receive_comment.js) 我收到的评论列表\n\n[GET /comments/by_me.json](./router/send_comment.js)  我发出的评论列表\n\n### friendships\n[GET /friendships/followers.json](./router/my_follower.js)  获取用户粉丝列表\n\n[GET /friendships/friends.json](./router/my_friend.js)  获取用户的关注列表\n\n\n## Issue\n* [POST /statuses/upload.json](./router/send_image.js)  上传图片并发布一条微博 该接口调用不成功，总是返回 \n``` {\"error\":\"auth by Null spi!\",\"error_code\":21301,\"request\":\"/2/statuses/upload.json\"} ``` 不知道是微博接口的限制还是我这边上传出错，有知道的同学希望可以帮助我一下\n\n## LICENSE\n[Apache License](./LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerbhelius%2Fpixel-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwerbhelius%2Fpixel-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerbhelius%2Fpixel-api/lists"}