BBC website frequently embeds Tweets, wonder how long until we start seeing edits on them to promote websites or something.
Twitter is using its embedded JavaScript to hide tweets that have been deleted
81–90 of 254 posts
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#82Earlier quoted context omitted.
You have to have some level of trust - our ASP.net website loads quite a few Nuget packages we regularly keep up to date. Theoretically any of them say Stripe or Paypal could add nefarious code into our site to steal a bunch of stuff - there's no practical way for us to review the source code before updating. For Javascript if you're paranoid you can add the `integrity` attribute, and most of the time you can self ho…
The difference is that you have a contractual relationship with Stripe or Paypal when you use their services. When you embed FB/Twitter/... content there's no such relationship, that's the issue.
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#83Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#84Isn't this the way the internet is supposed to work? If I link to a page and the page is removed, it'll not show, right? Same thing if I were to add that page as an iframe on my site. So, IMHO, the title and the post doesn't make any sense. Twitter isn't editing anyone's site. You have chosen to embed some content of Twitter on yours and it is perfectly fine if they chose to remove it.
But the link still will be on your site.
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#85Functionality aside embedding random scripts from twitter seems like a big risk for security and privacy. At a minimum, it should probably be embedded in a sandboxed iframe. Just taking a screenshot, and linking to the tweet, seems like a more robust solution, that won't randomly stop working, and doesn't have the same privacy issues.
There should be an HTML tag or something that downloads and embeds HTML from a remote site without scripting
or already exist. maybe they would work?
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#86Isn't this the way the internet is supposed to work? If I link to a page and the page is removed, it'll not show, right? Same thing if I were to add that page as an iframe on my site. So, IMHO, the title and the post doesn't make any sense. Twitter isn't editing anyone's site. You have chosen to embed some content of Twitter on yours and it is perfectly fine if they chose to remove it.
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#87Functionality aside embedding random scripts from twitter seems like a big risk for security and privacy. At a minimum, it should probably be embedded in a sandboxed iframe. Just taking a screenshot, and linking to the tweet, seems like a more robust solution, that won't randomly stop working, and doesn't have the same privacy issues.
There should be an HTML tag or something that downloads and embeds HTML from a remote site without scripting
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#88I've never understood why people even wanted to use this. For the styling? So you can just copy some random stuff from Twitter and it looks like Twitter but is also interactive? Just with the Facebook like-Button, you're exposing your visitors to the tracking of Twitter. For what? Just so you can quickly copy one snippet and be done with it, instead of manually copying author name, content and link and spending 10 se…
Twitter has display requirements. https://developer.twitter.com/en/developer-terms/display-req...
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#89Functionality aside embedding random scripts from twitter seems like a big risk for security and privacy. At a minimum, it should probably be embedded in a sandboxed iframe. Just taking a screenshot, and linking to the tweet, seems like a more robust solution, that won't randomly stop working, and doesn't have the same privacy issues.
> Just taking a screenshot, and linking to the tweet, seems like a more robust solution, that won't randomly stop working, and doesn't have the same privacy issues. And have none accessibility.
Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted
#90I've never understood why people even wanted to use this. For the styling? So you can just copy some random stuff from Twitter and it looks like Twitter but is also interactive? Just with the Facebook like-Button, you're exposing your visitors to the tracking of Twitter. For what? Just so you can quickly copy one snippet and be done with it, instead of manually copying author name, content and link and spending 10 se…
Unfortunately copyright law is not going to be happy with that one. [0] It's insanely complicated, but basically, as things are at the moment, the original poster has a right to retract the publication at any time. You may find yourself in legal hot water if your copy doesn't disappear at the same time as the original.
[0] https://australiacouncil.gov.au/workspace/uploads/files/soci...