Live data from Hacker News

I Made a Self-Quoting Tweet

oisinmoran.com

91–100 of 145 posts

Re: I Made a Self-Quoting Tweet

#91
post #67

wow, i did this in 2015 https://twitter.com/kcimc/status/619889224909750272 https://gist.github.com/kylemcdonald/da198988061dce54bae6a67... it's great to see all the examples in this thread going all the way back to 2009! i had no clue this was a thing.

Belated congratulations! This is really cool and it's always interesting to see the different approaches people take, so especially valuable to share the code. I'll definitely put this one in the addendum.

The hardcoded ID in your code was added after it was generated just before deleting everything else, right? Otherwise I'm stumped.

Re: I Made a Self-Quoting Tweet

#92

Earlier quoted context omitted.

On a related note, from 2012: “Show HN: This up votes itself” https://news.ycombinator.com/item?id=3742902

Unfortunately, I wasn't allowed to keep the karma :(

That surprising to me. I think you should keep it as you did something novel. At the very least as a 'bug bounty'.

Re: I Made a Self-Quoting Tweet

#93
post #54

Earlier quoted context omitted.

This is actually much cooler in my opinion! I love your progress indicator too. How did you go about doing this one? And what are the four parts you are referring to? Do you think a 3-cycle is doable?

AFAIK the tweet id has four moving parts, a datacenter id, a worker id, a sequence number, and a timestamp (original poster mentions three). 3-cycle is definitely doable, it may take a week posting 100 tweets per hour or something like that. The biggest problem is twitter blocking the account (even when you stay under the API rate limit). Code is here if you are interested, I ran it using GitHub Actions: https://gith…

They don't mention a datacenter id in the docs, but I wouldn't be surprised if it's changed since the docs were written: https://developer.twitter.com/en/docs/twitter-ids

I implemented a .NET port of Snowflake where I work--being able to work with data without ever having to worry about an identity column is extremely freeing.

Re: I Made a Self-Quoting Tweet

#96
post #48

Earlier quoted context omitted.

What? https://nitter.net/quinetweet/status/1309951041321013248 doesn’t ask for credentials and AFAIK there’s no place to enter them on the whole site, unless you type them into the search bar.

It still shows up as "tweet unavailable" for me, though, in this link

What you're seeing is an available tweet with an embedded tweet that is kept from being displayed. Because the embedded tweet is itself, it is handled by showing the same UI as any embedded tweet that is not available.

Re: I Made a Self-Quoting Tweet

#98

Earlier quoted context omitted.

It still shows up as "tweet unavailable" for me, though, in this link

What you're seeing is an available tweet with an embedded tweet that is kept from being displayed. Because the embedded tweet is itself, it is handled by showing the same UI as any embedded tweet that is not available.

Right, but my point is the behavior is the same on Twitter and nitter

Re: I Made a Self-Quoting Tweet

#99
post #93
post #54

Earlier quoted context omitted.

AFAIK the tweet id has four moving parts, a datacenter id, a worker id, a sequence number, and a timestamp (original poster mentions three). 3-cycle is definitely doable, it may take a week posting 100 tweets per hour or something like that. The biggest problem is twitter blocking the account (even when you stay under the API rate limit). Code is here if you are interested, I ran it using GitHub Actions: https://gith…

They don't mention a datacenter id in the docs, but I wouldn't be surprised if it's changed since the docs were written: https://developer.twitter.com/en/docs/twitter-ids I implemented a .NET port of Snowflake where I work--being able to work with data without ever having to worry about an identity column is extremely freeing.

The Data Center ID has been in Snowflake IDs for a while. It's present in the original version of Snowflake that Twitter open sourced back in 2010 [0]. Looks like it was added in this commit [1] from August 2010.

[0] https://github.com/twitter-archive/snowflake/blob/snowflake-...

[1] https://github.com/twitter-archive/snowflake/commit/ba2e67ea...

Post reply on HN