[embed] Links in tweets laten t.co zien in plaats van url

Pagina: 1
Acties:

Acties:
  • 0 Henk 'm!

  • DaCoTa
  • Registratie: April 2002
  • Laatst online: 04-07 23:41
Een embed van een tweet met links laat helaas de t.co link shortener zien. Het zou fraai zijn als deze resolved worden naar de echte links. Zie DaCoTa in "[Slowchat] Het grote cryptocurrency slowchat topic #7" voor een pakkend voorbeeld :-)

Acties:
  • 0 Henk 'm!

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:36

crisp

Devver

Pixelated

Twitter doet dat blijkbaar niet zelf in z'n oEmbed API. We zouden dat dan wel zelf kunnen doen, maar dat is wel relatief veel werk voor iets wat Twitter zelf in z'n eigen API eigen zou moeten regelen...

Intentionally left blank


Acties:
  • 0 Henk 'm!

  • F_J_K
  • Registratie: Juni 2001
  • Niet online

F_J_K

Moderator CSA/PB

Front verplichte underscores

Let op: de originele tweet wordt dus aangepast.
PSA: For users of http://bitcoinpaperwallet.com Note, the website and all related business was sold to an unknown individual and is no longer being maintained at https://github.com/cantonbecker/bitcoinpaperwallet

Info on the website does not match the signed info on GitHub and provides no link to a new repo.
Wat dus wordt vertaald naar
PSA: For users of https://t.co/jRJn1cgxNZ
Note, the website and all related business was sold to an unknown individual and is no longer being maintained at https://t.co/LSRa9bEIwH

Info on the website does not match the signed info on GitHub and provides no link to a new repo.
Dit zeg ik even omdat mijn onderbuikreactie eerst was: als men het tweet met t.co link dan moet je niet de tweet gaan aanpassen. Maar het is dus juist andersom, de tweet wordt aangepast. Of dat door Twitter gebeurt of hier, geen idee. edit: zie boven

OTOH: de originele tweet linkt wel naar https://t.co/jRJn1cgxNZ, alleen de tekstuele beschrijving is bitcoinpaperwallet.com. Eigenlijk doet Tweakers de oEmbed API het dus beter :P

[ Voor 10% gewijzigd door F_J_K op 26-02-2019 09:52 ]

'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind' (Terry Pratchett, Eric)


Acties:
  • 0 Henk 'm!

  • InFamous
  • Registratie: Januari 2010
  • Laatst online: 21-07 22:55

InFamous

excommunicado

Het is inderdaad Twitter die de URL aanpast.

Kijk maar als je een Tweet wilt embedden
code:
1
2
<blockquote class="twitter-tweet" data-lang="nl"><p lang="en" dir="ltr">PSA: For users of <a href="https://t.co/jRJn1cgxNZ">https://t.co/jRJn1cgxNZ</a><br>Note, the website and all related business was sold to an unknown individual and is no longer being maintained at <a href="https://t.co/LSRa9bEIwH">https://t.co/LSRa9bEIwH</a><br><br>Info on the website does not match the signed info on GitHub and provides no link to a new repo.</p>&mdash; jonf3n (@jonf3n) <a href="https://twitter.com/jonf3n/status/1062380032889368576?ref_src=twsrc%5Etfw">13 november 2018</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Formerly known as Ragdoll