Does Facebook crawler currently interpret javascript before parsing the DOM?

后端 未结 2 1251
忘掉有多难
忘掉有多难 2021-01-24 17:28

Following link seems to tell that it can\'t: How does Facebook Sharer select Images and other metadata when sharing my URL?

But I wanted to know if it is still the case

2条回答
  •  我在风中等你
    2021-01-24 17:42

    In the tests I've run I've never seen it interpret the JS, but that might be contextual / domain-specific (who knows).

    To test your specific case, use the Facebook linter: https://developers.facebook.com/tools/debug

    (log into FB first)

    That's the only way to be sure 100% sure how FB will parse your page (what properties it will infer)

提交回复
热议问题