问题
我一直在努力编写链接,在Twitter上分享一条预先制作好的推特--无论是在其中一个区块引号中,还是在一般的网站上,都可以找到http://bdnsun.ca/veteransdoc
。tweet的链接可以在桌面上运行,但是当我尝试在我的iPhone上共享相同的链接时,它会带我去没有预置Twitter的移动推特站点。这附近有工作吗?
实时链接:http://bdnsun.ca/veteransdoc
index.html
包含硬编码的tweet示例,在本例中应该读取“All the streets were blocked off … we knew we was gonna get taken prisoner,” Elmer Cole, PoW survivor: http://bdnsun.ca/veteransdoc
。
<!-- Blockquote -->
<blockquote>
<p class="quote__text">“All the streets were blocked off and they wouldn’t evacuate us because we had to stay and keep the Germans off the beach. So we knew we was gonna get taken prisoner.” </p>
<div class="quote__person">
<p class="quote__name">Elmer Cole</p>
<p class="quote__title">South Saskatchewan Regiment</p>
</div>
<div class="quote__icon">
<a href="https://twitter.com/home?status=%E2%80%9CAll%20the%20streets%20were%20blocked%20off%20%E2%80%A6%20we%20knew%20we%20was%20gonna%20get%20taken%20prisoner,%E2%80%9D%20Elmer%20Cole,%20PoW%20survivor%3A%20http%3A//bdnsun.ca/veteransdoc" target="_blank" class="link--twitter"title="Share on Twitter"><span class="tooltip-toggle" data-tooltip="Tweet this quote"><i class="icon-twitter fa fa-twitter" aria-hidden="true"></i></span></a>
</div>
</blockquote>
发布于 2016-06-06 20:07:27
推特更新其共享链接已经有一段时间了。现在有单独的text
和url
参数:
https://twitter.com/intent/tweet?text=text+to+share&url=https://example.org
专业提示:你也可以提供逗号分隔的标签!
https://twitter.com/intent/tweet?hashtags=one,two,three&text=&url=
https://stackoverflow.com/questions/37665586
复制相似问题