News for hackers. Stuff that matters.
Re:Ask HN: What is with the new URLs on facebook.com? by tedmiston on Saturday July 16, 2022 @06:51PM (#32122682)
Instagram does the same as well with your user ID as a query param when you share or copy a link.
Re:Ask HN: What is with the new URLs on facebook.com? by madeofpalk on Sunday July 17, 2022 @07:36AM (#32125944)
Tracking query string params in urls is nothing new, and its easy to spot.

What tiktok (and it looks Facebook is starting to do) is generate you a completely unique URL when sharing a video. Copy a tiktok video URL and you get something like tiktok-dot-com/video/abc456def - that ID at the end is unique to you. There's no tracking params to remove from the video because they encode the video ID and your user ID in the same 'field'

Re:Ask HN: What is with the new URLs on facebook.com? by tedmiston on Sunday July 17, 2022 @10:35AM (#32127169)
Well I didn't say this was "something new".

Your comment is somewhat accurate, but not the whole story.

A copied Tiktok share URL looks like this:

    https://www.tiktok.com/t/<unique_id>/?k=1
When pasted into a browser though, it redirects to the normal post URL:

    https://www.tiktok.com/@<author_username>/video/<video_id>?_t=<tracking_id>&_r=1
From there the tracking ID can be easily removed (by one's self) from the query params. This is in contrast to Facebook's new approach.
Re:Ask HN: What is with the new URLs on facebook.com? by dredmorbius on Saturday July 16, 2022 @07:08PM (#32122773)
Instagram === Facebook

So not much surprise here.