我正在按照 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/