why does this instagram link onebox like this?
it also links to nowhere if I don’t use hyperlinked text (you can click on the one-boxed link above)!
the link:
https://www.instagram.com/p/B3jG277hve9/
why does this instagram link onebox like this?
it also links to nowhere if I don’t use hyperlinked text (you can click on the one-boxed link above)!
the link:
https://www.instagram.com/p/B3jG277hve9/
My guess is it is a private account?
Nope, that’s not a private account. Here’s another example from a fully public post:
Wow, I posted https://www.instagram.com/p/B6gUJwDl-lQ/ but the onebox redirects to this topic itself…
(edit my post to repro this in the composer)
What’s different about this photo versus others?
It seems that some Instagram pages have a canonical link with a different url that requires login. The code in the onebox library prefers the canonical url.
For example, these are the canonical urls of the instagrams in this topic:
I’m getting this issue as well. Upgrading my installation now to see if it fixes.
@techAPJ can you fix this please? Basically we have to ignore canonical metadata for Instagram now…
Es sieht so aus, als hätten wir hier einen Rückschritt gemacht, oder Instagram hat wieder etwas geändert. Wir sind wieder nur noch bei „Login • Instagram
Seltsam, dieses Bild auf Instagram hat keine og:-Meta-Tags mehr.
Ich konnte keine anderen finden, bei denen sie fehlen würden…
Das Seltsame ist, dass die Instagram-Onebox bei mir lokal (auf der neuesten Discourse-Version) einwandfrei funktioniert. Und ich sehe die OpenGraph-Tags (og) auch im Inkognito-Modus.
Dieses Problem lokal nachzuvollziehen wird schwierig sein… ich recherchiere weiter.
Bezieht sich das nur auf dieses eine Bild? ![]()
Nein, ich habe mehrere Bilder von verschiedenen Accounts ausprobiert, und alle wurden lokal einwandfrei als Onebox dargestellt.
Hier ist ein Bild von vor einer Stunde von NatGeo, das lokal ebenfalls einwandfrei als Onebox angezeigt wird.
Vielleicht ist es ein geografisches Problem?
FWIW: Die Onebox-Darstellung von Instagram funktioniert auch auf discourse.codinghorror.com nicht, sodass dieses Problem nicht spezifisch für meta ist.
Vielleicht ändert der User-Agent die Antwort?
https://www.instagram.com/p/CAojxzfjO0y/
Das ist auf unserem Forum ebenfalls defekt.
Das glaube ich nicht. Wir verwenden für alle Anfragen aus der Discourse-Codebasis denselben User-Agent, wie hier zu sehen:
Bei uns hier im UK tritt das gleiche Problem jetzt auch auf.
Ich aktualisiere Instagram Onebox, um die offiziellen oEmbed-Endpunkte zu verwenden. Diese Änderung funktioniert lokal, und ich werde heute später einen Fix bereitstellen. Hoffentlich unterliegen die Instagram oEmbed-Endpunkte keinen geografischen Einschränkungen.