pgrimaud/weibo-user-timeline
Composer 安装命令:
composer require pgrimaud/weibo-user-timeline
包简介
Easily fetch any user's weibo timeline without oAuth
README 文档
README
Bored about chinese documentation? Easily fetch user's weibo timeline without oAuth.
Installation
composer req pgrimaud/weibo-user-timeline
Usage
$api = new Api(); $api->setUserId(6356999361); $feed = $api->getFeed(); print_r($feed);
Weibo\Hydrator\Feed Object
(
[title] => pgrimaud 的微博rss
[description] => YOLO
[items] => Array
(
[0] => Weibo\Hydrator\Item Object
(
[id] => c56dad8c9faef724e7447b0d40f829a0
[title] => Cute cat in snow and Iron Man : http://t.cn/RtsEHkr :)
[date] => DateTime Object
(
[date] => 2017-09-29 21:57:41.000000
[timezone_type] => 1
[timezone] => +08:00
)
[link] => http://weibo.wbdacdn.com/user/6356999361/status4157436061195251.html
[images] => Array
(
[0] => http://wx1.sinaimg.cn/large/006WdjVLgy1fk0s1i9h1cj31hc0zk7e9.jpg
[1] => http://wx2.sinaimg.cn/large/006WdjVLgy1fk0s1kuvdzj30fo0mgwgv.jpg
)
)
[1] => Weibo\Hydrator\Item Object
(
[id] => 84cffeefc55881d80973ef49de597f96
[title] => Another Weibo ultimate test #剧版醉玲珑# #大鹏逐影之路# #我心中的警察英雄# #电影空天猎# #史上最全甜萌小说#
[date] => DateTime Object
(
[date] => 2017-09-29 20:47:27.000000
[timezone_type] => 1
[timezone] => +08:00
)
[link] => http://weibo.wbdacdn.com/user/6356999361/status4157418387172577.html
[images] => Array
(
)
)
[2] => Weibo\Hydrator\Item Object
(
[id] => b666e96c68179094fb80398f8db7814d
[title] => #My first Weibo# :)
[date] => DateTime Object
(
[date] => 2017-09-05 22:56:00.000000
[timezone_type] => 1
[timezone] => +08:00
)
[link] => http://weibo.wbdacdn.com/user/6356999361/status4148753428858264.html
[images] => Array
(
)
)
)
)
FAQ
How to find user's Weibo ID ?
Go to user's profile page > click on "Photos" or "Album"
UserId is : http://photo.weibo.com/{userId}/talbum/detail/photo_id/xxxxxxxx
pgrimaud/weibo-user-timeline 适用场景与选型建议
pgrimaud/weibo-user-timeline 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 200 次下载、GitHub Stars 达 5, 最近一次更新时间为 2017 年 09 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pgrimaud/weibo-user-timeline 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pgrimaud/weibo-user-timeline 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 200
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-29