3 ms·
Every valid AMP page includes a <link rel=canonical href="..."> to the canonical URL for the document. If the aggregator (facebook in this case) parsed and link
by gregable 7y ago
Every valid AMP page includes a <link rel=canonical href="..."> to the canonical URL for the document. If the aggregator (facebook in this case) parsed and linked to the canonical as the publisher recommends via this annotation, you would get the version the publisher preferred. This is how browser extensions that rewrite to the non-amp version work, they extract this URL.
The AMP viewer iframe share button (and share intents) all share this canonical URL, not the AMP url. Google's implementation is trying it's best to get you to that version as well when sharing links.
Link Rel Canonical is an old (2012) standard: https://tools.ietf.org/html/rfc6596 https://tools.ietf.org/html/rfc6596
- dmitriid 7y agoHello, gregablr, who works for AMP and forgets to disclose it. No, it's not Facebook's, or the browser's, or the user's fault. It's strictly and only Google's fault. You (as in "You, Google" and "You, personally, as a member of the AMP team") broke the most basic functionality of the web and go out of your way to justify this behavior.