Facebook Share does not display title / description meta tags that change after page loading

Apparently, Facebook Share does not receive title / description meta tags that change (via JavaScript) after the page loads. It mainly uses the meta tags available at boot time.

This is a simple example .

  • When clicked, the link will change the title / description meta tags. You can confirm that using Firebug.
  • Press f | Share: Facebook still always shows “Heading available on page load.” and "Description available on page load."

Does anyone know how to fix this?

+3
source share
4 answers

Facebook. , - , 24 ( , ). , FB "" , URL Linter.

Facebook ?

Facebook , , . Facebook 24 , . , Open Graph "Like" URL- URL- Facebook Linter. Facebook URL- - "Expires" "Cache-Control" . , , Facebook 24 .

+11

facebook URL-, , . .

+1

Facebook. api . api . , facebook.

0

, Facebook javascript, .

, Facebook HTML.

(http://developers.facebook.com/docs/opengraph/), :

facebookexternalhit/1.0 
0

Source: https://habr.com/ru/post/1741543/


All Articles