【发布时间】:2013-11-04 01:50:13
【问题描述】:
我正在尝试使用查询字符串发送 URL,但它无法正常工作。 URL 的格式如下:http://domain.com/videos/watch?v=123
我的代码在下面
<a class="tw" href="https://twitter.com/intent/tweet?status=<?= urlencode($video[0]['tweet_text']) . 'http://domain.com/videos/watch?v=' $video[0]['_pw']['id'] ?>">Tweet</a>
当我删除 v= 之后的数字时,会显示推文对话框。当我保留 ?v=123 时,推文对话框只会加载 twitter.com。
【问题讨论】:
标签: html twitter hyperlink share social