搜索用户微博/Search user posts
Weiboapi
About
搜索用户微博/Search user posts
Documentation
搜索用户微博/Search user posts
[中文]
用途:
- 在指定用户的微博中搜索包含特定关键词的内容。
参数:
- uid: 用户ID(必填)
- q: 搜索关键词(非必填,空字符串表示搜索全部内容)
- page: 页码,从1开始(默认1)
- starttime: 开始时间戳(可选,Unix时间戳格式)
- endtime: 结束时间戳(可选,Unix时间戳格式)
- hasori: 是否包含原创(默认1包含)
- hasret: 是否包含转发(默认1包含)
- hastext: 是否包含文字(默认1包含)
- haspic: 是否包含图片(默认1包含)
- hasvideo: 是否包含视频(默认1包含)
- hasmusic: 是否包含音乐(默认1包含)
返回:
- 搜索结果列表,包含微博内容、作者信息、互动数据等
注意:
- 搜索结果受用户隐私设置影响
- 时间戳参数使用Unix时间戳格式
[English]
Purpose:
- Search for content containing specific keywords in a specified user's posts.
Parameters:
- uid: User ID (required)
- q: Search keyword (optional, empty string means search all content)
- page: Page number, starts from 1 (default 1)
- starttime: Start timestamp (optional, Unix timestamp format)
- endtime: End timestamp (optional, Unix timestamp format)
- hasori: Include original posts (default 1 include)
- hasret: Include retweets (default 1 include)
- hastext: Include text posts (default 1 include)
- haspic: Include image posts (default 1 include)
- hasvideo: Include video posts (default 1 include)
- hasmusic: Include music posts (default 1 include)
Return:
- Search result list, including post content, author info, interaction data
Note:
- Search results affected by user privacy settings
- Timestamp parameters use Unix timestamp format
[示例/Example]
uid = "7277477906" q = "python" # 为空表示搜索全部内容 page = 1
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 搜索用户微博/Search user posts
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
微博高级搜索/Weibo Advanced SearchWeiboapi微博AI搜索内容扩展/Weibo AI Search Content ExtensionWeiboapi微博智能搜索/Weibo AI SearchWeiboapi获取所有分组信息/Get all groups informationWeiboapi检查微博是否允许带图评论/Check if Weibo allows image commentsWeiboapi地区省市映射/Region City ListWeiboapi获取微博文娱榜单/Get Weibo entertainment rankingWeiboapi获取微博热门榜单时间轴/Get hot ranking timelineWeiboapi