django-seo-js
django-seo-js copied to clipboard
django-seo-js does not appear to work with Facebook
I have been trying to use django-seo-js and prerender.io to display a preview of my React SPA on Facebook. However, it appears that the Facebook crawler is not rerouted to prerender.io.
I have the following code in my setting.py file:
SEO_JS_USER_AGENTS = [
"Googlebot",
"Yahoo",
"bingbot",
"Badiu",
"Ask Jeeves",
"facebookexternalhit/1.1",
"facebookexternalhit",
"twitterbot"
]
While previously I thought the Google crawler was working, it also appears not to work. So something is wrong with my middleware. I think my first post was premature.
It seems there is a PR for this
Added Googlebot etc. user agent since they don't support escaped fragment anymore. #37