stflory
#1
I have a website hosted using cloudfront and S3. I use a lambda function to intercept webscraper requests, and return minimal html with meta tags. It works for facebook, iMessage, slack, curl, etc. But doesn’t work for twitter cards. It just returns the full html from our homepage.
I’ve waited 2 weeks for the twitter cache to clear, which the docs say, and it still isn’t working.
This is the url: getchapter.app/@sarafina/universe
If you run curl -v -A Twitterbot https://getchapter.app/@sarafina/universe, you’ll notice it returns a metatags with data specific to Sarafina Nance. However, if you put this same url in the twitter card validator, it just returns generic metadata from our homepage.
This is the html that curl returns:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{title}}</title>
<!-- Base Metas -->
<meta name="title" content="Chapter | 4-week learning groups by top thought leaders">
<meta name="description" content="Sarafina Nance: Our Universe. Starting Jan. 24">
<!-- OpenGraph -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://getchapter.app/@sarafina/universe">
<meta property="og:title" content="Chapter | 4-week learning groups by top thought leaders">
<meta property="og:description" content="Sarafina Nance: Our Universe. Starting Jan. 24">
<meta property="og:image" content="https://chapter-profile-pics.s3.us-west-2.amazonaws.com/meta-sharing/meta_universe.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Chapter | 4-week learning groups by top thought leaders">
<meta property="twitter:description" content="Sarafina Nance: Our Universe. Starting Jan. 24">
<meta property="twitter:image" content="https://chapter-profile-pics.s3.us-west-2.amazonaws.com/meta-sharing/meta_universe.jpg">
</head>
<body>
<p>Chapter is the best way to learn from top experts!</p>
</body>
</html>
Hi Team,
For me also for my URL it is throwing an error
below are the meta tags for facebook and twitter:
<meta property="twitter:url" content="https://dev-nmdp.cs96.force.com/?id={!$CurrentPage.parameters.id}" />
<meta property="twitter:card" content="summary_large_image"/>
<meta property="twitter:title" content="Check this out from Be The Match!!!"/>
<meta property="twitter:description" content="Be The Match - Member Card"/>
<meta property="twitter:image" content="{!usr.MemberCardDownloadLink__c}"/>
<!-- For Facebook-->
<meta property="og:url" content="https://dev-nmdp.cs96.force.com/?id={!$CurrentPage.parameters.id}" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Check this out from Be The Match!!!" />
<meta property="og:description" content="Be The Match - Member Card" />
<meta property="og:image" content="{!usr.MemberCardDownloadLink__c}" />
please help me out here.
---------- Yönlendirilen ileti ---------
Gönderen: Wen Xie via Twitter Developers <twitter@discoursemail.com>
Tarih: 25 Oca 2022 Sal, saat 18:49
Konu: [Twitter Developers] [Twitter API/Media APIs] How i can download Twitter videos? there is no option to download or save
Alıcı: <yetenselim70@gmail.com>
Hi Thank you. Afterward, I use Tweepy API status to find the link of media and then download them. But, with Tweepy client, I cannot get the link directly. Thanks.
We are having a similar issue. I have the open graph meta tags set in our head tag. I have verified some urls in the twitter card validator. Everything is checking out good.
The problem is when we go to share the page / post, we are more likely to see the “article icon gray box” than the set og:image.
Is there a way to tell Twitter to refetch the page to clear Twitters internal cache? Do we have to accept that some links just won’t show the image until they get cached again?
I would like to add that Facebook has a bulk tool to resubmit urls and clear the cache.
system
closed
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.