获取帖子oEmbed内嵌信息/Get post oEmbed info
Instagramapi
About
获取帖子oEmbed内嵌信息/Get post oEmbed info
Documentation
获取帖子oEmbed内嵌信息/Get post oEmbed info
[中文]
用途:
- 获取Instagram帖子的oEmbed内嵌信息
- 返回可直接嵌入网页的HTML代码和帖子元信息
- 适用于需要在第三方网站嵌入Instagram帖子的场景
参数:
- url: Instagram帖子的完整URL(如
https://www.instagram.com/p/xxx/或https://www.instagram.com/reel/xxx/) - hidecaption: 是否隐藏帖子文本(默认false)
- maxwidth: 嵌入的最大宽度(像素,默认540)
返回:
data.version: oEmbed版本data.title: 帖子标题data.author_name: 作者名称data.author_url: 作者主页URLdata.author_id: 作者IDdata.media_id: 媒体IDdata.provider_name: 提供者名称(Instagram)data.provider_url: 提供者URLdata.type: 类型(rich)data.width: 宽度data.html: HTML嵌入代码data.thumbnail_url: 缩略图URLdata.thumbnail_width: 缩略图宽度data.thumbnail_height: 缩略图高度
价格:
- 0.008 USD/请求
[English]
Purpose:
- Get Instagram post oEmbed embed info
- Returns HTML code for embedding and post metadata
- Suitable for embedding Instagram posts on third-party websites
Parameters:
- url: Full Instagram post URL (e.g.,
https://www.instagram.com/p/xxx/orhttps://www.instagram.com/reel/xxx/) - hidecaption: Whether to hide caption (default false)
- maxwidth: Max embed width in pixels (default 540)
Return:
data.version: oEmbed versiondata.title: Post titledata.author_name: Author namedata.author_url: Author profile URLdata.author_id: Author IDdata.media_id: Media IDdata.provider_name: Provider name (Instagram)data.provider_url: Provider URLdata.type: Type (rich)data.width: Widthdata.html: HTML embed codedata.thumbnail_url: Thumbnail URLdata.thumbnail_width: Thumbnail widthdata.thumbnail_height: Thumbnail height
Price:
- 0.008 USD/request
示例/Example
url = "https://www.instagram.com/reel/DUlObENDmJD"
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取帖子oEmbed内嵌信息/Get post oEmbed info
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
批量翻译评论/Bulk translate commentsInstagramapi获取评论的子评论/回复/Get comment repliesInstagramapi获取探索页推荐帖子/Get explore feedInstagramapi从URL提取短码/Extract shortcode from URLInstagramapi综合搜索(支持分页)/General search (with pagination)Instagramapi获取话题标签帖子列表/Get hashtag postsInstagramapi获取Highlight精选详情/Get highlight storiesInstagramapi获取地点详情/Get location infoInstagramapi