question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

weird redirections by twitter (?) on deletes.py results with TWEET_OK

See original GitHub issue

I gave a try to the @justinlittman version of the new deletes.py b/c new features. I added threads and others perfs feature to the old one but commit details says it offer better insights then the previous one. Obviously I tested it with same previous deleted tweets. Kudos to @justinlittman Despite it’s very slow then previous release with threads (and other tricks to perform thousands per minutes) I noticed some weird results with “TWEET_OK” results using http-traceroute (npm pkg but the same like cURL). Let me say I’m not saying deletes.py is wrong b/c I’m focused on Twitter responses about deleted/suspended users/tweets. I found on my data sets almost 4 patterns getting redirections or to new tweets or to different users tweets. Also when is from a suspended user. In my opinion you all should get similar results on your own datasets, here’s just a sample of 2, I checked now to show current redirections:

#$ http-traceroute https://twitter.com/SofiaSales11/status/902340657175461893
[301] HTTP/1.1 HEAD https://twitter.com/SofiaSales11/status/902340657175461893 (cookies: 5) (258 ms)
[200] HTTP/1.1 HEAD https://twitter.com/Sofiadossii/status/902340657175461893 (cookies: 5) (568 ms)
Trace finished in 839 ms using 1 hop
$# http-traceroute https://twitter.com/VaiVieni/status/899587208478380032
[302] HTTP/1.1 HEAD https://twitter.com/VaiVieni/status/899587208478380032 (cookies: 5) (345 ms)
[200] HTTP/1.1 HEAD https://twitter.com/OsservPolitico/status/892798077395972098 (cookies: 5) (361 ms)

What makes it more funny is that some of it 20 days ago resulted with two 3xx and one 2xx but over 3 users accounts. I have many more kind of weird results but I’m sure you’ll have yours too. Any ideas about what I’m missing here?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
justinlittmancommented, Dec 20, 2017

If I’m understanding correctly, the behavior makes sense.

https://twitter.com/SofiaSales11/status/902340657175461893 is redirecting from an old or incorrect screen name to the correct screen name.

https://twitter.com/VaiVieni/status/899587208478380032 is a retweet that is redirecting to the source (retweeted) tweet.

0reactions
remagiocommented, Jun 4, 2020

I forgot this open, I’m sorry by that @edsu @justinlittman. Btw I never thought about it like an issue. Sometime later I found out I needed something more specific (not just the good rewrite of deletes.py rewrite at the time) in understanding censorship & self-censorship by polbots or socketpuppets.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filtered stream - How to build a rule | Docs - Twitter Developer
The filtered stream endpoints deliver filtered Tweets to you in real-time that ... Getting a rule to return the "right" results the first...
Read more >
I deleted 40,000 tweets last week. Here's why (and how).
Those of us using the service at the time had grown accustomed to tweets disappearing from search results after five days, becoming inaccessible...
Read more >
Trump's deleted tweets present legal liabilities - POLITICO
President Donald Trump's prolific Twitter feeds may be lifelines to his political base, but they remain an ongoing legal liability due to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found