seemsindie / Linkedin-post-timestamp-extractor

Given a Linkedin post URL we can decode the UTC timestamp which isn't otherwise available in frontend/API metadata.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linkedin-post-timestamp-extractor

  • Given a Linkedin post URL we can decode the UTC timestamp which isn't otherwise available in frontend metadata. This could be useful when scraping or for general OSINT investigating.
  • Use a modern Chromium based browser.
  • Click here then select Copy link to post. image

Use it here https://ollie-boyd.github.io/Linkedin-post-timestamp-extractor/ . Commandline script coming soon.

Following on from updating the TikTok timestamp extractor https://github.com/bellingcat/tiktok-timestamp , I wanted to see if there were any other timecodes that we can mine. I saw someone looking for a way to get a Linkedin post's timestamp, which doesn't seem to be available other than the '1 week ago' given on the frontend.

Based on Ryan Benson's work on the TikTok timestamp (https://dfir.blog/tinkering-with-tiktok-timestamps/) I began to have a play around with the 19 digit Linkedin post ID. After some trial and error I found we can convert the post ID to binary, then convert the first 41 binary bits to a decimal to give the UNIX timestamp in milliseconds. Nice!

About

Given a Linkedin post URL we can decode the UTC timestamp which isn't otherwise available in frontend/API metadata.

License:GNU General Public License v3.0


Languages

Language:JavaScript 55.4%Language:HTML 44.6%