Twitter Blockquote嵌入

时间:2019-03-19 15:51:35

标签: twitter postmessage blockquote

在此page底部的滑块中嵌入了块标题。有时加载块引用,然后有时不加载样式,除非页面被重新加载。

查看控制台日志,输出此错误。

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://platform.twitter.com') does not match the recipient window's origin ('https://www.sunderland.ac.uk').

有什么我们可以改变的来加载吗?

使用的块引用示例

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Great atmosphere at the University of Sunderland Open Day this afternoon.  Come and join us. <a href="https://twitter.com/sunderlanduni?ref_src=twsrc%5Etfw">@sunderlanduni</a></p>&mdash; Peter Robert Kay (@peterkay111) <a href="https://twitter.com/peterkay111/status/1043485305603526656?ref_src=twsrc%5Etfw">September 22, 2018</a></blockquote><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

0 个答案:

没有答案