Live data from Hacker News

Twitter is using its embedded JavaScript to hide tweets that have been deleted

kevinmarks.com

151–160 of 254 posts

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#151
Disclaimer: I'm not a web developer nor a journalist/blogger, whatever.

My non-expert, likely useless, take on this:

Don't use Twitter's technology. If you're interested in quoting a tweet to create a public take a screenshot, copy of the text, quote it and provide a link. Simple.

If part of your post links, or portals, to another site you don't control it's not part of your blog/post/site. Complaining when remote content changes is pointless. You're not capturing what was when you link to remote content managed by someone else you're capturing something live, it's not a public record. It isn't quoting anything.

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#152
post #101
post #90

Earlier quoted context omitted.

> 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 seconds to format this yourself. 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…

Under US law, you’d likely be covered by fair-use so long as you’re reporting on the tweet as a news-worthy event (versus, say, asking for lols).

That is precisely the argument made in Agence France Presse v Morel [0], cited in the article I linked to. One of the statements to come out of that rather drawn out and complicated case is:

> plainly sufficient for the jury to conclude that AFP’s infringement was willful under either an actual knowledge or reckless disregard theory

Assuming that you would be covered under fair use, is a "reckless disregard" for theory if you comprehend the copyright situation at all. These things are very, very, complicated and you cannot simply assume that you have the safety to copy a tweet.

[0] https://www.loeb.com/en/insights/publications/2014/08/agence...

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#153

You don't need to use Twitter's JS to show Tweets. If you choose to use their system, you're subject to their rules. If you don't like their rules, don't use their stuff. Calling it "altering the public record" is a little hyperbolic imo. If you want to act as a repository for the public record, you better use your own system. Twitter is under no obligation to retain this kind of stuff on your behalf. I'm not trying…

> Twitter is under no obligation to retain this kind of stuff on your behalf. You have badly missed the most crucial message of the post. When you copy the embed link, you are copying the string literal of the tweet too. You put this text on your site. You are the one retaining it. The twitter module is hiding the text from the rendered page, rather than loading the local copy.

Yes and it's tricky because in one side you're siding with the person that copied it, and in another, with the original author of the tweet.

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#154

Disclaimer: I'm not a web developer nor a journalist/blogger, whatever. My non-expert, likely useless, take on this: Don't use Twitter's technology. If you're interested in quoting a tweet to create a public take a screenshot, copy of the text, quote it and provide a link. Simple. If part of your post links, or portals, to another site you don't control it's not part of your blog/post/site. Complaining when remote co…

The key is that they're not linking remote content – they copied the content of the tweets into their websites' code, and then used Twitter's JS to render it. I.e., it used to be a purely stylistic change.

All of a sudden, this very inert code has changed, without warning, to actually edit any websites using it to delete the text that they put there. I think many would consider this malware-adjacent, if it wasn't from such a large company.

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#155
post #43
post #38

Earlier quoted context omitted.

Aesthetics and familiarity? It's a lot nicer to link the user's name directly to their profile, and the date directly to their tweet on Twitter as opposed to having a separately link or whatnot. For many, especially your average Joe/Jane, will expect the aforementioned behaviour.

Well if you want Twitter's aesthetics then you have to import their CSS/JS and let them "edit your site". Or recreate all of it yourself. What solution are people looking for exactly?

The previously existing solution?

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#156
post #140
post #135

Earlier quoted context omitted.

"If you want to act as a repository for the public record, you better use your own system." I deliberately chose Twitter's JavaScript because I inspected the design of how it worked and saw that they had deliberately built it in a way that would respect my preferences for how deletion should be handled. They've changed that on me - without even announcing the change. This is a rug-pull. Now I have to replace their co…

Ask for your money back.

Why should I? I demand payment in public opinion because I can. You needn’t care but Twitter will pay from those that do.

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#157

Earlier quoted context omitted.

An email provider (which you most likely pay for - and don't publish on a website) is very different to a social media site (that you don't pay for and want it out in the public) It's a free service that they provide - why can they not change how their system works when they want? People can object whenever they want - but it doesn't change the fact that they don't have any 'rights' to show someone elses content via…

I disagree. Twitter doesn't own that content. Someone posting the Twitter JS on their website to allow Twitter to format the tweet to Twitter's brand standards and allow a link to drive traffic back to Twitter is a favour that they're doing Twitter. They should respect that favour by not changing the contract unilaterally.

Unfortunately, it doesn't really matter if you disagree. They own the platform, and they can operate it how they please. There's no "changing of the contract" here. Their TOS certainly don't guarantee anything at all in exchange for website owners embedding tweets in this way. Any theoretical moral argument is kind of irrelevant.

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#158
post #45

Earlier quoted context omitted.

> Twitter is under no obligation to retain this kind of stuff on your behalf. They declared something worked one way then silently changed how that thing works without properly announcing the change first and giving people enough time to adapt. Would you still be willing to make these excuses if your emails provider decided to do the same thing? Even if it's their system, there's a limit where people would rightfully…

An email provider (which you most likely pay for - and don't publish on a website) is very different to a social media site (that you don't pay for and want it out in the public) It's a free service that they provide - why can they not change how their system works when they want? People can object whenever they want - but it doesn't change the fact that they don't have any 'rights' to show someone elses content via…

Right. And I don’t have a responsibility to not kick up a fuss. So I’m going to kick up a fuss and hopefully people will want to use their APIs and SDKs a teensy bit less.

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#159

I am not particularly upset by this. You choose to embed JavaScript that interoperates with your website to make tweets look like Twitter … Twitter has decided that deleted tweets look like nothing now … that’s what you wanted. Apparently the “contract” that Twitter would preserve the text of a deleted tweet was a tweet from some random employee.

And the documentation for the embed api on their website https://developer.twitter.com/en/docs/twitter-for-websites/e...

Re: Twitter is using its embedded JavaScript to hide tweets that have been deleted

#160

Earlier quoted context omitted.

"Functionality aside embedding random scripts from twitter seems like a big risk for security and privacy." When I started blogging again, I wanted to render my Twitter feed on the homepage, as a sort of bitesize alternative to the regular content, but I too have a deep aversion to allowing external scripts on my websites. So I added some code to my Hugo theme that pulls the tweets from my profile via the Twitter API…

Hey Victor, would you mind sharing that piece of code?

Hey, sure, I set up a repo just now. Lemme know if it works for you or not: https://github.com/victorstanciu/hugo-tweets
Post reply on HN