# Instagram TV 一键内嵌

**URL:** <https://meta.discourse.org/t/instagram-tv-oneboxing/172784>\
**Category:** Feature\
**Created:** [2020年十二月9日 17:34 UTC](https://meta.discourse.org/t/instagram-tv-oneboxing/172784 "2020-12-09T17:34:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jamie.wilson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamie.wilson/32/185466_2.png) [@jamie.wilson](https://meta.discourse.org/u/jamie.wilson)\
**Post date:** [2020年十二月9日 22:07 UTC](https://meta.discourse.org/t/instagram-tv-oneboxing/172784/4 "2020-12-09T22:07:33Z")

</div>

目前，IGTV 链接将通过通用 oneboxer 进行路由，这（可能）对来自任何特定站点的前几次请求有效。但在少量请求之后，Instagram（可能）会将这些请求重定向到登录页面，这正是 @renato 遇到的情况。

正如 @renato 指出的那样，Instagram 的 onebox 引擎尚未配置为处理 IGTV 风格的链接。我刚刚创建了一个 PR 来实现这一功能：

> <https://github.com/discourse/onebox/pull/446>
>
> Instagram TV (or ‘IGTV’) links should be processed by the Instagram Onebox Engin…e. This means the data will be fetched via Instagram’s official oEmbed endpoint and, if an access token is configured, will not be subject to login redirects, etc.

这意味着 Instagram 的 onebox 引擎将通过官方 Instagram oEmbed 端点获取 IGTV URL。假设您已经[配置了访问令牌](https://meta.discourse.org/t/instagram-and-facebook-oembed-api-to-stop-working-what-about-onebox/164242/9)，onebox URL 请求将不会被重定向到登录页面。

（该 onebox PR 需要升级 onebox 版本，然后更新 Discourse 核心中的 Gemfile。）

---

_[View the full topic](https://meta.discourse.org/t/instagram-tv-oneboxing/172784)._
