Facebook social crawler doesn't read glitch app's og metadata

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!

1 Like

here is a quick link to the facebook debugger output: https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fmy-great-big-running-playlist.glitch.me

image

thats weird. Discord can scrape them. Is there some kind of cache that you can reload?

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

this seems to be working now! https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fmy-great-big-running-playlist.glitch.me%2F

maybe it was a facebook debugger issue?

Hey @zhammer I’m glad it’s working now!

This is currently happening to me as well. Any advice on how to fix?

https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fwhatisthisiswhatisin.glitch.me%2F

Just wait. It works on discord image

Still nothing… Any body know anything more?

Bump, I am still getting the same result.

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.

3 Likes

Thank you for this!!!

1 Like

I seem to be as well having this issue, facebook doesn’t want to scrape websites with images from glitch


Is this something that fixes it’s self over time?

My best guess is that Facebook might be getting blocked from visiting glitch.