asadakbar / socialmark-extension

1 stars 0 forks source link

Capture the actual post date #3

Open asadakbar opened 2 months ago

asadakbar commented 2 months ago

Changing a lightbulb

I keep finding things to change...err I mean fix. I found a way to get the actual post date for a linkedin post. So I am prioritizing that work as we dont have to do some wierd formatting in rails with the approximate date. https://www.quora.com/How-can-you-find-the-actual-dates-of-posts-in-LinkedIn/answer/CatBagChairTablePenny https://github.com/Ollie-Boyd/Linkedin-post-timestamp-extractor/blob/main/extractor.js https://ollie-boyd.github.io/Linkedin-post-timestamp-extractor/

Originally posted by @asadakbar in #23

asadakbar commented 2 months ago

I am having trouble sending back the unix timestamp and having it convert properly to the utc time. The date time I am getting when doing this in javascript is different than the time I am getting when doing this in ruby. The javascript one is correct. For now I am going to do the conversion in the extension but I would like to figure out what I am doing wrong.