我希望你能帮助我解决我一直面临的一个问题。几周前,我网站上的Twitter时间轴嵌入停止工作。几天前它又开始工作了,但现在小部件显示任何日期的推文,而不仅仅是最近的推文。我已经检查过了,似乎iframe加载数据不正确。当我直接访问iframe的src时,它正确加载,但是当通过iframe嵌入时,它会显示旧的tweets。关于可能导致这个问题的原因有什么想法吗?我很感激你能提供的任何见解或解决方案。谢谢!
这是由https://publish.twitter.com/#提供的原始代码
<a class="twitter-timeline" href="https://twitter.com/arquitect_viva?ref_src=twsrc%5Etfw">Tweets by arquitect_viva</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
字符串
而且它工作得很好x1c 0d1x
但是当我把它放在我的网站上时,
<iframe style="width: 100%; height: 100vh;" src="https://syndication.twitter.com/srv/timeline-profile/screen-name/arquitect_viva?creatorScreenName=arquitect_viva&dnt=false&embedId=twitter-widget-0&features=eyJ0ZndfdGltZWxpbmVfbGlzdCI6eyJidWNrZXQiOltdLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X2ZvbGxvd2VyX2NvdW50X3N1bnNldCI6eyJidWNrZXQiOnRydWUsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9iYWNrZW5kIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19yZWZzcmNfc2Vzc2lvbiI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfZm9zbnJfc29mdF9pbnRlcnZlbnRpb25zX2VuYWJsZWQiOnsiYnVja2V0Ijoib24iLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X21peGVkX21lZGlhXzE1ODk3Ijp7ImJ1Y2tldCI6InRyZWF0bWVudCIsInZlcnNpb24iOm51bGx9LCJ0ZndfZXhwZXJpbWVudHNfY29va2llX2V4cGlyYXRpb24iOnsiYnVja2V0IjoxMjA5NjAwLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3Nob3dfYmlyZHdhdGNoX3Bpdm90c19lbmFibGVkIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19kdXBsaWNhdGVfc2NyaWJlc190b19zZXR0aW5ncyI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdXNlX3Byb2ZpbGVfaW1hZ2Vfc2hhcGVfZW5hYmxlZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdmlkZW9faGxzX2R5bmFtaWNfbWFuaWZlc3RzXzE1MDgyIjp7ImJ1Y2tldCI6InRydWVfYml0cmF0ZSIsInZlcnNpb24iOm51bGx9LCJ0ZndfbGVnYWN5X3RpbWVsaW5lX3N1bnNldCI6eyJidWNrZXQiOnRydWUsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9mcm9udGVuZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9fQ%3D%3D&frame=false&hideBorder=false&hideFooter=false&hideHeader=false&hideScrollBar=false&lang=en&maxHeight=596.966px&origin=https%3A%2F%2Farquitecturaviva.com%2Fen&sessionId=2c445e90ceeab5df41e6db7160945615ce32d02b&showHeader=true&showReplies=false&siteScreenName=arquitect_viva&transparent=false&widgetsVersion=aaf4084522e3a%3A1674595607486"></iframe>
型
1条答案
按热度按时间gxwragnw1#
它将更改其X策略。有关更多详细信息,请参阅此处https://twittercommunity.com/t/embedded-tweets-not-working/199477/35?page=2