Rishikant181 / Rettiwt-API

A CLI tool and an API for fetching data from Twitter for free!
https://rishikant181.github.io/Rettiwt-API/
MIT License
484 stars 46 forks source link

When to use a proxy? #633

Open Timtendo12 opened 1 month ago

Timtendo12 commented 1 month ago

Hi! I’m wondering if I should use a proxy to prevent my home IP from being potentially blacklisted, assuming that’s a risk with repeated API requests.

I’m running a script that streams tweets using this API. It’s running on a Raspberry Pi at home, and it fetches new tweets every 60 seconds.

Currently, I have a HTTPS proxy configured in the device’s network settings, rather than specifying a proxy URL in the script configuration.

I also tried using a VPN, but it blocks RDP connections on the device, which makes that solution impractical for me.

Any advice on whether using a proxy is necessary? Is it even possible for your IP to get banned from X?

Rishikant181 commented 3 weeks ago

I haven't seen anyone getting IP banned, although there have been reports of Twitter accounts getting banned.

A residential proxy will keep your IP safe from getting banned and more than one proxy will certainly help alleviate rate limit issues.

Personally, I have never faced any bans, neither my account, nor my IP (maybe that's because I don't have a static IP and am behind a double NAT network from my ISP).

But, that's just an observation. The rest is up to you.

Timtendo12 commented 3 weeks ago

I've been running my script on my Raspberry Pi using my verified account for a few days now. The script uses the search methods every 5-10 minutes, with random intervals after each request (between 5-10 minutes), and so far, my account hasn’t been banned. The only odd thing I noticed is that my account got logged out of every device this morning 🤔. Not sure what caused it, but I don’t think it’s related to Rettiwt.