[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1651516166499.png (139 KB, 1266x851)
139 KB
139 KB PNG
Decode this: ENT1yWWhLL-Qz9mK

A Twitter snowflake ID is a 64-bit binary number, with 41 bits representing a timestamp, 10 bits representing a machine ID, and 12 bits representing a per-machine sequence number. The snowflake ID is generally serialized in decimal format and is used in the post URL.

For example,
https://twitter.com/i/status/1581674019991916545
Decoding 1581674019991916545:
{'creation_time_milliseconds': 1665935447105,
'datacenter_id': 10,
'machine_id': 337,
'sequence_id': 1,
'server_id': 17}

The filename of a Twitter photo also contains a base64-encoded snowflake ID. This can be decoded into a regular snowflake ID, although it contains three "extra" unknown bytes.
For example,
https://pbs.twimg.com/media/FdMR2WDaMAMPt2q?format=jpg
FdMR2WDaMAMPt2q -> 1572620320212922371

It is unknown if the filename of a Twitter video also contains a snowflake ID. You can see the URL contains it, but any off-platform video would would only contain the file name.
For example,
https://video.twimg.com/ext_tw_video/1564378065198882816/pu/vid/960x720/ENT1yWWhLL-Qz9mK.mp4

How would "ENT1yWWhLL-Qz9mK" be decoded into a snowflake, if it's possible?

Resources:
https://en.wikipedia.org/wiki/Snowflake_ID
https://discord.com/developers/docs/reference#snowflakes (good visualizations, twitter uses another epoch)
https://docs.google.com/document/d/1xVrPoNutyqTdQ04DXBEZW4ZW4A5RAQW2he7qIpTmG-M/edit
>>1263648
>>
>>1292874
Are you schizo?
there is nothing to "decode."
just take those bits out and look at them, you'll just get numbers that don't mean anything to anyone outside of twitter's codebase
>>
>>1292883
There is clearly significance to everything here, even if you can't see it.
>>
>>1292874
This is not the first thread you've posted on this subject.

What is it you're really trying to do?
>>
>>1292918
Having either the timestamp (which is contained in the snowflake) or the snowflake enable you to do a specific search on twitter and find the sauce a majority of the time.
>>
>>1292874
>How would "ENT1yWWhLL-Qz9mK" be decoded into a snowflake, if it's possible?
It's not base64 because - is not a valid character in base64. So I'm going to go ahead and say it's not possible to decode this into a snowflake.
>>
>>1292924
It's URL safe base64.
https://en.wikipedia.org/wiki/Base64#Variants_summary_table
Both the image and video filenames have those characters.
>>
bump
>>
>>1293231
>>1292874
https://archive.alice.al/wsr/thread/1292874/#1292874
>>
>>1293638
>>
>>1293638
>>
>>1295200
no
>>
>>1295522
>>
>>1292883
yes he is
>>
>>1292874
This could be used for data science. Companies pay twitter big bucks to get every message that was posted in a very reduced time frame.
>>
>>1292874
Wait, how do you get 1572620320212922371 out of FdMR2WDaMAMPt2q? When I do it, I get the binary number 0101000101101110011001000111000101010001010101000110100001110101010100010011000001001110011010100101000101010101010001100011010101001110010110000111000001000010, which is too long for a snowflake, and get the decimal 464890084197175747359280206572236815640313753666 out of that.
>>
>>1302630
First, you're using BwjA8nCCcAAy5zA. ( https://twitter.com/i/status/506867107540135936 )
Second, you're converting the string to binary instead base64 decoding the string.
>>
>>1302642
OK, yeah. Video filenames don't seem to map to snowflakes, at least not trivially. With image filenames you remove three "mysterious bytes" at the end, so I thought maybe the mysterious bytes were different for video filenames. I checked the snowflakes for the entire set of permutations of 8 bytes for "ENT1yWWhLL-Qz9mK", and didn't find a matching snowflake. Sorry I wasn't of much help.

import base64
import itertools

decoded = base64.urlsafe_b64decode("ENT1yWWhLL-Qz9mK==")
for perm in itertools.permutations(decoded, 8):
decimal = int.from_bytes(perm, byteorder="big")

if decimal == 1564378065198882816:
print("Bytes:", perm, "Decimal:", decimal)
break
>>
>>1302659
I suspect the snowflake in the URL would not be exactly the same as the one in the video filename. (if it exists) Like the image filename, the tweet snowflake is assigned at a different time.
>>
>>1303085
>>1303468
>>1303916
>>1304394
>>1304837
>>1305224
>>1305662
>>1306033
>>1306395
>>1306735
>>1307148
Please stop doing that.
>>
>>1292874
>The filename of a Twitter photo also contains a base64-encoded snowflake ID. This can be decoded into a regular snowflake ID, although it contains three "extra" unknown bytes.
>For example,
>https://pbs.twimg.com/media/FdMR2WDaMAMPt2q?format=jpg
>FdMR2WDaMAMPt2q -> 1572620320212922371
How do you get this exactly?
>>
>>1307266
https://onecompiler.com/python/3yv3cr7y2
>>
>>1293638
>>
>>1292883
>Are you schizo?
are you asking if the person spamming the same thread every other day for months(maybe over a year already??) is a schizo? OP is clearly not well. I would call it a bot, but bot's are usually used for trolling and diverting conversations here, and these threads seem more like a meth head's delusional chase for something.
>>
this site didn't help

https://www.base64decode.org/
>>
>>1321930
+1 gold star
>>
Decode this too
asfgaeds=0lfseu8f9uadhfg87sdahfuy8geab8fyewufnaedvbf98easn=bvfc9unasedmn[gsmg9-0szdk,gbopudsnmgosd vou8iemvrenb9urtygyrth5yghu65thgytrufgjrtyfn0adizcbv90emgsyreb9sdfu8ivw437ejkfiwehbfiywenv0sfedh gv0-=ew9hf80=we9hnf87asebnfuaysdhnfiphasdndfipasdhbd0a9osudfn8a9sdyufjasdutgy8asu f-a9sduyfjas98dgas09[8nd9sd8ubfg0asd9ngsd
>>
187.16.64.209
>>
it's time to let go
>>
File: .jpg (46 KB, 539x539)
46 KB
46 KB JPG
>>1336423
nah
>>
>>1292874
it has been more than a year
give in
>>
wtf lmao
https://archive.palanq.win/wsr/thread/1292874/#1293638
>>
File: 1681271447215.jpg (629 KB, 3264x2448)
629 KB
629 KB JPG
>>
File: 1681271490093.jpg (143 KB, 1080x1058)
143 KB
143 KB JPG
>>
>>
File: 1681271632343.jpg (72 KB, 768x1024)
72 KB
72 KB JPG
>>
File: 18.jpg (94 KB, 960x720)
94 KB
94 KB JPG
>>
File: 1681271858741.jpg (230 KB, 880x1099)
230 KB
230 KB JPG
>>
File: 1681272015318.jpg (363 KB, 1080x1080)
363 KB
363 KB JPG
>>
File: 1681272275285.jpg (55 KB, 960x720)
55 KB
55 KB JPG
>>
File: 1681272322154.jpg (70 KB, 1280x720)
70 KB
70 KB JPG
>>
File: 1681272469606.png (560 KB, 728x970)
560 KB
560 KB PNG
>>
>>
>>
>>
File: 1681333804693.jpg (154 KB, 1528x922)
154 KB
154 KB JPG
>>
File: 1681333855075.jpg (99 KB, 720x960)
99 KB
99 KB JPG
>>
>>
>>
>>
File: 1681433416997.jpg (54 KB, 640x593)
54 KB
54 KB JPG
>>
File: FUi5OfZWAAAFMNo.jpg (128 KB, 750x748)
128 KB
128 KB JPG
>>
>>
File: 1681555500473.jpg (211 KB, 632x1952)
211 KB
211 KB JPG
>>1342078
>>
File: 1681666434003.jpg (64 KB, 604x410)
64 KB
64 KB JPG
>>1342505
>>
File: 1681830075604.jpg (54 KB, 900x900)
54 KB
54 KB JPG
>>1343035
>>
>>1292893
You're right about that.
>>
File: 1681930427204024.jpg (638 KB, 1056x1547)
638 KB
638 KB JPG
$2a$12$kooo3HSH2zjFN.jbCczSTeL5QF2bQX0Y/yjUHB/J3f0uetC1ghh26
>>
>>1316815
It's been the same thread since last year my guy but I also thought it was spam
>>
>>1345865
desu I don't think is gonna get made
>>
>>1341096
cat looks like a knock out old cartoon
>>
>>1293638
>>
>>1343872
How long can this thread last?
>>
>>1352545
>>
>>1352972
>>
>>1353301
>>
>>1353791
>>
>>1354130
>>
>>1354476
>>
>>1354895
>>
>>1292874
at least say please nigga damn
>>
>>1354929
It's probably a bot by this point.
>>
So why do the mods keeps this alive???
>>
>>1355484
>>
>>1355489
>mods
he’s bumping it and deleting the bumps, mods aren’t doing shit
>>
>>1355790
>>
>>1355927
You should be more specific with your request
>>
>>1355928
What is not specific. The request is incredibly specific and technical.
>>
>>1355929
Maybe add more details/resources? It's been over 166 days now
>>
>>1355927
>>
>>1356408
>>
I really love /wsr/
>>
>>1356894
>>
>>1356904
Me too
>>
>>1357284
>>
>>1293638
>>
>>1292874
Why do you continually post this shit anon?
>>
>>1357787
How many times has it been posted?
>>
Thread hijack:
Does anyone have the edit of this where it's a Japanese light novel, and there's all sparkles and stuff?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.