Twitter card not rendering - ERROR: Invalid card name (Card error) [html / meta tags]

Twitter card not rendering - ERROR: Invalid card name (Card error) [html / meta tags]

我在测试my app's url in the Twitter Card validator的时候遇到了problem ERROR: Invalid card name (Card error)。 更具体地说,这些是验证器的完整日志:

INFO:  Page fetched successfully
INFO:  20 metatags were found
INFO:  twitter:card = “summary_large_image” tag found
ERROR: Invalid card name (Card error)

这是我的元标记:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="theme-color" content="#1E3A50">
            
<meta property="og:title" content="Claim this Redeemable NFT">
<meta property="og:image" content="https://flowerpatch.app/polygon/render/card-39786.png">
<meta property="og:image:height" content="200">
<meta property="og:image:width" content="300">
<meta property="og:url" content="https://redeemable.app/r/0x0b4a401a678e60c988fb159b31a45fc0980af65a56279197b0002eb1779843b7">
            
<meta property="og:type" content="website">
<meta property="og:description" content="From: 0xc1D622d588B92D2F7553c6fe66b1Ce6C52ec36f9">
<meta name="twitter:card" content="“summary_large_image”">
<meta name="twitter:site" content="@redeemableNFT">
<meta name="twitter:title" content="Claim this Redeemable NFT">
<meta name="twitter:description" content="From: 0xc1D622d588B92D2F7553c6fe66b1Ce6C52ec36f9">
<meta name="twitter:image:src" content="https://flowerpatch.app/polygon/render/card-39786.png">
<meta name="description" content="From: 0xc1D622d588B92D2F7553c6fe66b1Ce6C52ec36f9">
<meta name="keywords" content="Redeemable, NFT, Reward">
        

我的 Twitter 卡片元标记有什么问题?我相信我正确地遵循了 Twitter Card docstwitter:imagetwitter:image:src 我都试过了,所以也不是。 “无效的卡名”是什么意思?

问题原来是@Satya 指出的引号。 我用 <meta name="twitter:card" content="summary_large_image"> 交换了 <meta name="twitter:card" content="“summary_large_image”">,Twitter 卡片非常有效!