Rishikant181 / Rettiwt-API

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

user.folllow not follow actually #611

Open sanjian100 opened 1 month ago

sanjian100 commented 1 month ago

rettiwt.user.follow('1451773004') it's returning true even though it didn’t follow actually note: for some user it give me unknown error with different status codes edit: the 344 error code is for this message when you try to follow "You have reached your daily limit for this action. Please add a phone to your account to remove the limit."

Rishikant181 commented 1 month ago

the 344 error code is for this message when you try to follow "You have reached your daily limit for this action. Please add a phone to your account to remove the limit."

This might be the issue. How many users were you trying to follow in a day?

sanjian100 commented 1 month ago

the 344 error code is for this message when you try to follow "You have reached your daily limit for this action. Please add a phone to your account to remove the limit."

This might be the issue. How many users were you trying to follow in a day?

nah i already try different account with different ip but still same i take the curl request for the follow api it worked fine.

Rishikant181 commented 1 month ago

Any chance you might be subject to these regulations?: https://help.x.com/en/using-x/x-follow-limit

sanjian100 commented 1 month ago

nah i bearly have 10 following found that certain accounts never gonna follow like i follow 5 different account 2 or 1 of theme gonna actually follow i already added a phone number but still same i could do anything i want without follow

here is my post request i get from browser i hide the auth_key but if you like i could give it to you for test use

"curl --path-as-is -i -s -k -X $'POST' \ -H $'Host: x.com' -H $'Content-Length: 307' -H $'Sec-Ch-Ua: \"Chromium\";v=\"127\", \"Not)A;Brand\";v=\"99\"' -H $'X-Twitter-Client-Language: en' -H $'X-Csrf-Token: hidden' -H $'Accept-Language: en-US' -H $'Sec-Ch-Ua-Mobile: ?0' -H $'Authorization: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA' -H $'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.100 Safari/537.36' -H $'Content-Type: application/x-www-form-urlencoded' -H $'Accept: /' -H $'X-Client-Transaction-Id: Vnz7EyFgqTMY3eOneOIjgFWFzRkey9tT1BHXsO45uRX5VDWLIcRJXzTG2JDdcGEWsmFBx1TDnhpLsyKZmJ6z3PlE4KnlVQ' -H $'X-Twitter-Auth-Type: OAuth2Session' -H $'X-Client-Uuid: 631409a4-9f47-44d8-ba9b-bd96011b4317' -H $'X-Twitter-Active-User: yes' -H $'Sec-Ch-Ua-Platform: \"macOS\"' -H $'Origin: https://x.com' -H $'Sec-Fetch-Site: same-origin' -H $'Sec-Fetch-Mode: cors' -H $'Sec-Fetch-Dest: empty' -H $'Referer: https://x.com/SFNloubnan' -H $'Accept-Encoding: gzip, deflate, br' -H $'Priority: u=1, i' \ -b $'guest_id=172597803001915399; night_mode=2; guest_id_marketing=v1%3A172597803001915399; guest_id_ads=v1%3A172597803001915399; kdt=tOa3toTewo9w8oix5GosG8oGNhhwaaWEGZrWwRlC; att=1-87pUNFU5FTcUApI7uwgZG0ScAI8diZ9XmQPO7YTd; lang=en; gt=1833547103831765125; auth_token=hidden; twid=u%3D1830235616526610432; ct0=hidden; personalization_id=\"v1_PhG/nebb6Gqab5F1HzMo0Q==\"' \ --data-binary $'include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&include_mute_edge=1&include_can_dm=1&include_can_media_tag=1&include_ext_is_blue_verified=1&include_ext_verified_type=1&include_ext_profile_image_shape=1&skip_status=1&user_id=352004499' \ $'https://x.com/i/api/1.1/friendships/create.json'"

it's really weird situation didn’t get any logic