【发布时间】:2016-05-23 20:01:56
【问题描述】:
我们有一个网页,目前有两个链接,允许用户使用一些文本预先填充 Twitter 推文和 Facebook 帖子,关键是标签(以及 Twitter 的提及)。
他们现在询问是否为 Instagram 添加类似的内容,但我的包含“意图”的搜索词正在拉起如何在 Twitter 上或通过 Android 执行此操作。
如果有帮助,这就是我们正在尝试复制的 Twitter 和 Facebook 版本,但适用于 Instagram。
<div id="shareLinks">
<a href="<%= string.Format("https://twitter.com/intent/tweet?text={0}",
Server.UrlEncode("___ (@___) ___! #___")) %>"
onclick="window.open(this.href, '', 'width=550, height=420');return false;"
target="_blank" class="button tiny secondary">Tweet the good news!</a>
<a href="<%= string.Format("http://www.facebook.com/sharer/sharer.php?u={0}&t={1}",
Server.UrlEncode("http://example.com"), Server.UrlEncode("___ #___")) %>"
onclick="window.open(this.href, '', 'width=626, height=436');return false;"
target="_blank" class="button tiny secondary">Post the good news!</a>
</div>
谢谢!
【问题讨论】: