In a similar question it appears that the OP and comments were talking about a browser interaction with a server where URL fragments were not sent by a browser to the server.
My question: I have a site with pages that have URL fragments and some of them have images associated with them. I want to vary the Facebook og:image
tag in the <head>
of the page based on the URL fragment. Does the Facebook crawler send the fragment in an HTTP header or as a query param to the server?
We know that the browser will not send the URL fragment to the server. This question is specifically about the Facebook crawler (facebookexternalhit) which has the fragment and could send it as part of the full URL, in a header, or as a query parameter to the server.