Javascript 推特分享按钮
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8297480/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Twitter share button
提问by user386660
I want my own image for a Twitter share button and want to also open in a pop-box. It's happening on Facebook, but in Twitter I am able to find out.
我想要我自己的 Twitter 共享按钮图像,并且还想在弹出框中打开。它发生在 Facebook 上,但在 Twitter 上我可以找到。
Is there a link or solution?
有链接或解决方案吗?
回答by Tom van der Woerdt
Just point at https://twitter.com/share?url=<yoururl>
and maybe some other attributes. You don't need the Tweet button code to add a button that tweets.
只需指出,https://twitter.com/share?url=<yoururl>
也许还有其他一些属性。您不需要推文按钮代码来添加推文按钮。