Twitter Share Card All In One
Twitter Share Card All In One
Twitter Card
ERROR: Invalid card name (Card error)
可用枚举值:
“summary”, “summary_large_image”, “app”, or “player”.
https://cards-dev.twitter.com/validator
solution
- <meta name="twitter:card" content="https://cdn.xgqfrms.xyz/logo/logo.png">
+ <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@https://cdn.xgqfrms.xyz">
<meta name="twitter:title" content="free CDN">
<meta name="twitter:description" content="free CDN for everyone who wants speed his website!">
<meta name="twitter:creator" content="@xgqfrms">
<meta name="twitter:image" content="https://cdn.xgqfrms.xyz/logo/logo.png">
<meta name="twitter:domain" content="cdn.xgqfrms.xyz">
shareToTwitter({
uid: '.project-tagline',
author: 'xgqfrms',
tags: 'js,cnblogs',
});
shareToTwitter();
https://www.cnblogs.com/xgqfrms/
refs
https://twittercommunity.com/t/error-invalid-card-name-card-error/24763
©xgqfrms 2012-2020
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/15990413.html
未经授权禁止转载,违者必究!