如何在推特上分享图片和细节
How to share images along with details on twitter
如何在 Twitter 上分享图片和详细信息
和
如何为网站创建 Twitter 帐户
I tried meta tag but its not working
<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>
这里有一些错误。让我试着向你解释一下。
您的网站 URL 是 localhost:83
。该网站位于您的计算机上。 Twitter 无法访问该网站。所以它看不到元标记。
您分享的图片 URL https://res.cloudinary.com/orgtesting...
只是图片的链接。所以没有可供 Twitter 看到的元标记。
修复方法如下:
- 您需要创建一个 Twitter 可以访问的网站。
- 在该网站上,您需要一个 HTML 页面。
- HTML 页面需要包含元标记。
您可以使用 Twitter 的工具测试页面的 URL - https://cards-dev.twitter.com/validator
如何在 Twitter 上分享图片和详细信息 和 如何为网站创建 Twitter 帐户
I tried meta tag but its not working
<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>
这里有一些错误。让我试着向你解释一下。
您的网站 URL 是 localhost:83
。该网站位于您的计算机上。 Twitter 无法访问该网站。所以它看不到元标记。
您分享的图片 URL https://res.cloudinary.com/orgtesting...
只是图片的链接。所以没有可供 Twitter 看到的元标记。
修复方法如下:
- 您需要创建一个 Twitter 可以访问的网站。
- 在该网站上,您需要一个 HTML 页面。
- HTML 页面需要包含元标记。
您可以使用 Twitter 的工具测试页面的 URL - https://cards-dev.twitter.com/validator