rooteco / tweetscape

the supercharged twitter feed
https://prototype.tweetscape.co
GNU Affero General Public License v3.0
18 stars 2 forks source link

Tweet links should link directly to expanded_url #357

Open nicholaschiang opened 2 years ago

nicholaschiang commented 2 years ago

Imported from @nicholaschiang's original Linear issue TS-48.

Twitter shouldn't be able to track TS users: the shortened t.co links in the tweet text content shouldn't actually link to the t.co link but the expanded_url directly so as to avoid Twitter being able to track the link being opened.

Doing this will require a left outer join urls on urls.tweet_id = tweets.id and an inner join links on links.id = urls.link_id to get the expanded_url for each of the links in a tweet.

nicholaschiang commented 2 years ago

I should link directly to the unwound_url and try to remove all utm_source parameters, etc. so that the user can't be easily tracked ex:

https://time.com/6158881/don-young-death/?utm_source=twitter&utm_medium=social&utm_campaign=editorial&utm_term=u.s._&linkId=157044968