html - Twitter 意图推文添加正斜杠

标签 html url twitter

我正在按照 API 指南发布推文:

http://twitter.com/intent/tweet?text=Don%27t+hide+your+incessant+curiosity%2E+Exclaim+it%2E+%23quote+http://itechthereforeiam.com+通过+@mjbrender

但它一直在末尾附加一个'/':

Don't hide your incessant curiosity. Exclaim it. #quote http://itechthereforeiam.com via @mjbrender/

我发现一些对话朝着这个方向发展,但没有任何内容能回答这个问题。

感谢您的帮助。

最佳答案

不知道你是否曾经让这个工作过,但我将 via 语句移到了“前面”,它去掉了斜线。

例如:

https://twitter.com/intent/tweet?via=UserName&url=http://MyURL.com&text=Share your Story and Win!&hashtags=myHashTag&

我以前在末尾有 via 标签,它会产生斜线。使用此代码,via 仍然出现在消息的末尾,而不是消息的开头,只是没有尾随的正斜杠。

希望这对您有所帮助!

关于html - Twitter 意图推文添加正斜杠,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15327479/

相关文章:

php - 在 mysql 中回显图像 while 循环不起作用?

http - haskell wreq 参数列表

java - 如何使用java清理脏文本

javascript - 如何使用 tweet_button.html 在 twitter 中与 # 共享 url

ios - 如何修复此社交媒体 View 共享 (iOS)?

PHP-从数据库中获取并存储在下拉菜单html中

html - 前端 Rails 应用程序中的代码重用

jquery - 如何在预制的 jquery 画廊中创建一个看起来像照片的链接?

php空白$_GET[]检测

c# - 将 BitmapImage 转换为 Image.Source