Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django-seo-js does not appear to work with Facebook #35

Open
physicsai opened this issue Aug 4, 2019 · 2 comments
Open

django-seo-js does not appear to work with Facebook #35

physicsai opened this issue Aug 4, 2019 · 2 comments

Comments

@physicsai
Copy link

physicsai commented Aug 4, 2019

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"
]
@physicsai
Copy link
Author

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.

@paribaker
Copy link

It seems there is a PR for this

Added Googlebot etc. user agent since they don't support escaped fragment anymore. #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants