steevenakintilo / TwitterGiveawayBot

A bot that make you participate to any twitter giveaway
Apache License 2.0
18 stars 3 forks source link

getting locked #12

Open Cerexl opened 3 months ago

Cerexl commented 3 months ago

so i tried using the bot on an old account of mine and it kept getting locked making me have to manually unlock it. eventually the bot got through 30 giveaways but when i tried it again 2 days later it first reached the max post views somehow and then it got permanently suspended a few hours later

today i tried it on another account and within 5 minutes my account got locked again. any suggestions? also it keeps detecting the login as from a new device every time i run the bot.

steevenakintilo commented 3 months ago

Ok the lock are normal I myself also got banned a lot I think it's because we are using selenium and we can't do something about it

It's because you are login to your account so every time you log in to your account you will get this message

Cerexl commented 3 months ago

So are you not currently using the bot due to bans as well?

steevenakintilo commented 2 months ago

I am using my bot I do have looks sometimes but it takes 1 minutes per account to unban it so it's fine I also had 2 month ago 25% of my account banned for no reason and now it's fine the only things I did was not using headless mode anymore

Cerexl commented 2 months ago

Thanks, using headless mode hasn’t gotten be locked so far but now I’m running into a problem where the account gets signed out half way through running the script.

do you have any ideas on what’s causing this?

also I’ve made about 6 accounts to use the bot on but they’ve pretty much all gotten shadowbanned. I’m wondering how you first set up your accounts to avoid this and if your willing to share how many giveaways you win per month on average

steevenakintilo commented 2 months ago

Nice, I have this problem myself on my account but I didn't push my modification because I tought it was only my accounts that got those problem but I see that no so I will push my modification I've made. I create an account then the next day I run the bot on this account but every 3 days. Well since I have a lot of accounts I win a lot I would say like 15 giveaways a months since 2024

Cerexl commented 2 months ago

Do you use any kind of proxies or other methods to avoid getting shadowbanned or are you just running every 3 days to avoid detection?

steevenakintilo commented 2 months ago

Nop just running every 3 days and it's not even 100% working since I often got account that are locked

Cerexl commented 2 months ago

hey, just wondering for the eta on the account sign out fix (don’t mean to sound pushy)

also could you share the batch file script that lets you auto run multiple accounts one after each other. Thanks as usual.

steevenakintilo commented 2 months ago

Hello , just pushed the modification for the log out issue. You don't need at batch script to run multiple account one after each other there is two solution:

1) Just add all your accounts into the configuration file and it will run fine

2) Have one root folder and other subfolder that will all have the same code , files but just account/password info different on the configuration file and you will have to make a code like this

image

Cerexl commented 2 months ago

i only want to run one account at a time. so i was looking for a way to run an account only after the previous one finished

steevenakintilo commented 2 months ago

Ok so you can try any of the 2 ways I told you

Cerexl commented 2 months ago

I’m assuming only the second way can enter the same giveaways on multiple accounts. How does it know when one account finished running so it can start the next one?

steevenakintilo commented 2 months ago

If you want to do exactly the same giveaways on all your account then the first version will work all the time the 2nd will do nearly the same giveaways but it will still do some differents. When the account finished all the work it needs to do it will go to the next account but you don't need to know that it will do it all by itself

Cerexl commented 2 months ago

hey i tried using the bot with the log out fix but everytime it happens the program crashes when it tries to re login. have u experienced this?

steevenakintilo commented 2 months ago

Can you show me the error you are facing ?

Send text or screen of it

steevenakintilo commented 2 months ago

Well saw the mistake it was a dumb error should work now

Cerexl commented 2 months ago

hey i been getting an issue where the bot thinks the accounts gets logged out but the account is actually still logged in and it happens quite consistently from what ive seen it usually happens when its on https://twitter.com/compose/post but the screen is just black with the twitter logo which is strange but goes away if u just refresh the page

steevenakintilo commented 2 months ago

Oh thanks for sharing the issue I will fix it

steevenakintilo commented 2 months ago

How many times you need to refresh the pages to get the page back at it's normal state?

Cerexl commented 2 months ago

From my experience refreshing once makes it go back to normal

steevenakintilo commented 2 months ago

ok thanks

Cerexl commented 2 months ago

hi im getting an error where the bot continuously fails to search for giveaways. it goes on to "https://x.com/i/flow/login?redirect_after_login=%2Fexplore" which has a login page but the account isnt logged out. the bot doesnt have an error and just tries to keep searching for giveaways but every search fails.

steevenakintilo commented 2 months ago

Have you pulled the newest version of the code I did update 1 day ago because twitter updated div on the login/register page

Cerexl commented 2 months ago

Ye I did At first there was the issue with the bot not interacting with giveaways but now it can’t even search for giveaways properly

steevenakintilo commented 2 months ago

Yeah I know twitter update again will fix it right now

Cerexl commented 2 months ago

The update u pushed seems to mostly work but I noticed that after the first account is done. When the bot says the account gets logged out and tries again, it’s actually logged back into the first account in the config file instead of the second one.

I don’t know exactly what happens because I’m pretty sure it does try to login with the right details but it gets some weird error doesn’t actually login. This results in a blank screen with the twitter logo and the sign in banner on the bottom. The bot will then continuously say the account gets logged out about every 6 follow attempts but it doesn’t actually manage to follow the accounts because it’s not signed in properly.

Ps the part about not properly logging in was happening sometimes even before the recent changes twitter made

steevenakintilo commented 2 months ago

Ok I will look into it but what you can do is make a copy of the bot folder and just change the info in the config file and run bots simultaneously it will work well and be faster

Cerexl commented 1 month ago

How many accounts do you run at the same time?

steevenakintilo commented 1 month ago

3

Cerexl commented 1 month ago

hey i was just wondering how u make new twitter accounts. do you use a new email everytime?