fwenzel / copy-url

A Firefox Extension to copy the current page's canonical URL to the clipboard.
https://addons.mozilla.org/addon/copy-url-252534/
7 stars 0 forks source link

a copied URL points to the main page instead of a subpage #14

Closed beroal closed 8 years ago

beroal commented 8 years ago

Why this URL is not copied properly? I don't see any 'link rel="canonical"' inside the webpage.

fwenzel commented 8 years ago

Hm turns out their site has this:

<meta property="og:url" content="https://espora.social/" />

which is Facebook opengraph metadata. Sharing this on FB does also not work then, I figure. Though I'll read up on the opengraph format to ensure I did not implement this wrong.

Thank you for the report (and sorry for the delay!)

fwenzel commented 8 years ago

Yeah I am quite certain they are using Opengraph wrong: http://opengraphprotocol.org/

og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".

beroal commented 8 years ago

Thank you for your reply. I hear about OpenGraph for the first time. I already have created an issue for their platform.

fwenzel commented 8 years ago

Closing this for now because it appears to be an implementation error on the site.