【发布时间】:2019-07-05 19:24:53
【问题描述】:
如何在 Twitter 上分享图片和详细信息 和 如何为网站创建 Twitter 帐户
我尝试了元标记,但它不起作用
<head>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@TodayKrishna">
<meta name="twitter:creator" content="@TodayKrishna">
<meta name="twitter:title" content="Parade of Fans for Houston’s Funeral">
<meta name="twitter:description" content="NEWARK - The guest list a more suited to a red carpet event in .">
<meta name="twitter:image" content="http://graphics8.nytimes.com/images/2012/02/19/us/19whitney-span/19whitney-span-articleLarge.jpg">
</head>
<a class="twitter" href="https://twitter.com/intent/tweet?url=https://res.cloudinary.com/orgtesting/image/upload/f_auto/q_auto/c_lpad,h_600,w_600/v1506343211/KFTtesting/{{imgs.artFileName}};text=Check out this great piece of art @Krishnafortoday.com" target="_blank">
<img class="YOUR_FB_CSS_STYLING_CLASS" src="img/twt.png" width="22px" height="22px" alt="">
</a>
【问题讨论】:
-
嗨,Ajith,你能告诉我们一些你写的代码吗?这将使我们更容易告诉您如何修复它。谢谢:-)
-
嗨 Terence Eden,非常感谢您的回复,我已附上代码,请检查并给我解决方案。如果可能的话,建议任何其他方式来分享图像以及从自己的网站到 Twitter 帐户的详细信息。谢谢
-
i.stack.imgur.com/1a2zR.png 这是网站的网址
-
嗨,Terence Eden,我已经更新了 url 链接:i.stack.imgur.com/RW9hR.png 当我点击 twitter 按钮时,我的预期目标将按照您在 twitter 页面上显示的方式查看。注意:请点击给定的链接。i.stack.imgur.com/RW9hR.png
标签: javascript twitter media-queries share