Discourse Meta
Onebox Twitter embedding
Contribute
Feature
sam
(Sam Saffron)
2020 年2 月 27 日 04:47
50
这是一个非常棘手的问题,Twitter 官方的嵌入代码存在两个问题:
它不提供高度信息,导致内容加载时页面布局会跳动。
我们需要在所有网站上运行 Twitter 的 JavaScript 文件。
我们通过使用自定义渲染器来规避这些问题,但不幸的是,这意味着我们需要不断跟进官方嵌入代码的更新。
6 个赞
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Twitter embeds have broken
Product Support
27
4319
2020 年7 月 8 日
Twitter Native Embed
Theme component
119
9566
2026 年10 月 4 日
Twitter oneboxes are no longer working on my install
Product Support
5
1175
2023 年6 月 3 日
Configuring X login and rich embeds for Discourse
Integrations
sso
,
how-to
,
social-auth
142
231795
2026 年1 月 20 日
Twitter oneboxes and links broken now that login is required
Bug
14
3470
2025 年10 月 30 日