【问题标题】:Twitter widget went from working to not working on an unhosted websiteTwitter 小部件在非托管网站上从工作变为不工作
【发布时间】:2016-03-03 09:36:16
【问题描述】:

我在大学时正在编辑文件,小部件可以工作,但现在我在家打开文件,它就不能工作了。

代码如下:

	<div align="center">
		<a class="twitter-timeline" href="https://twitter.com/bethesda" data-widget-id="668826568299532289">Tweets by @bethesda</a>
		<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)    [0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
	</div>

更新: 我通过删除它并再次添加它来修复它。不知道出了什么问题,但可能是不小心删除或添加了一些东西。

【问题讨论】:

    标签: javascript html twitter widget unhosted


    【解决方案1】:

    仔细检查您 Twitter 帐户上的小部件设置。小部件可能丢失,或者可能是权限问题,例如由于某些原因,有人可能已经撤销了该特定小部件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多