i’d like to share a recent glitch project - my great big running playlist - with friends on facebook and added some og tags for a nice share card but it seems like facebook isn’t able to scrape them from glitch.
here are the meta tags as written in my project: Glitch :・゚✧
the og tags are parsed fine as per my check on the iframely debugger. they’re also working for generating share cards when i text the url to friends.
the facebook debugger returns three errors:
Inferred Property
The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
Missing Properties
The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id
Curl Error
Curl error: 18 (PARTIAL_FILE)
this seems to be an issue for other users (see support: OG tags for social websites) and I’ve been able to replicate using other projects of mine.
i’d love to be able to share my glitch projects with some custom open graph metadata!
Yeah a lot of other scrapers work fine. It seems the problem is specifically with Facebook scraping glitch sites (at least the two glitch apps of mine i’ve tested this with).
On the link I shared to the facebook debugger, you can request a rescrape of a site here:
When and how we last scraped the URL
Time Scraped
2 seconds ago
Scrape Again
Hi @davallree, thanks for reporting this. It appears to be a bug with how we host static site projects; we’ll have the team look into it!
In the meantime, a workaround is to convert your project to a Node project (copying the server.js and package.json files from the ~hello-express project is a good way to start). If you serve your HTML/CSS files yourself using something like express.static('your-file-directory'), you should start to see the Facebook graph debugger working.