marcelja / facebook-delete

Fast facebook activity deletion
MIT License
1.28k stars 48 forks source link

Facebook continously bans #31

Open davkvi opened 2 years ago

davkvi commented 2 years ago

I get consistent temp bans from facebook using this:

"Jan Elements found: 0 panic: ratelimited, please open https://mbasic.facebook.com and navigate to your activity log to see more information."

This is after they unbanned me.

Thank you for the app!

ghost commented 2 years ago

I Also get these bans, consistantly within in a minute or so.

I have run with ratelimit of 18500 and still get banned for an hour. It seems to me that Facebook is actively blocking this method now.

PS C:\Users\Chris\Downloads> .\deleter-windows.exe -rateLimit 18500 Waiting 18500 ms before search and delete requests. Logged in with user: * ** (profile ID: *****) ? Which years 2007 ? Which months Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec ? Which categories All App Activity, Comments, Event Invitations, Event Responses, Group Posts and Comments, Group Reactions, Instagram Photos and Videos, Likes and Reactions, Others' Posts To Your Timeline, Photos and Videos, Posts, Posts You're Tagged In, Search History, Spotify, Your Events

Searching elements from 2007: Jan Elements found: 0 panic: ratelimited, please open https://mbasic.facebook.com and navigate to your activity log to see more information.

goroutine 1 [running]: main.retrieveRequestString(0xc00057c1b0, 0x0, 0x0, 0x0, 0x0) /Users/marcel/pr/facebook-delete/deleter.go:97 +0x2b1 main.(requester).Request(0xc00006afd0, 0xc00013e240, 0x8d, 0x9, 0x4d9cd3) /Users/marcel/pr/facebook-delete/deleter.go:70 +0xc5 main.(activityReader).ReadItems(0xc00039a000, 0x7d7, 0x1, 0x4d9cd3, 0xf) /Users/marcel/pr/facebook-delete/deleter.go:205 +0xcb main.(*deleter).Delete(0xc0000af9f0, 0xc000400d20, 0x1, 0x1, 0xc000262300, 0xf, 0x10) /Users/marcel/pr/facebook-delete/deleter.go:344 +0x125 main.main() /Users/marcel/pr/facebook-delete/deleter.go:531 +0x4af

davkvi commented 2 years ago

Tried again, it bans you when it does it first lookup it seems like.

gbq6 commented 2 years ago

I get instantly banned with any reasonable rateLimit.

Edit: After 4 or 5 "activity log bans" the whole account gets blocked.

cdwebb0 commented 2 years ago

On first run it made it through a few years, but eventually failed with the same error. I've now tried running again using various ratelimits and still getting error 'panic: ratelimited, please open https://mbasic.facebook.com and navigate to your activity log to see more information.'

paul-omalley commented 2 years ago

So my account has been soft banned a few times already today. I tried going for much smaller search parameters and also a much larger interval time on my most recent attempt with this tool. Still got banned. Seems to be during the Search phase -- didn't get past February. Below is the output I received:

PS C:\Users\paul\OneDrive\Downloads> .\deleter-windows.exe -rateLimit 30000 Waiting 30000 ms before search and delete requests. Logged in with user: **** (profile ID: ***) ? Which years 2012 ? Which months Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec ? Which categories Event Invitations, Event Responses, Group Posts and Comments, Group Reactions, Others' Posts To Your Timeline, Search History, Your Events

Searching elements from 2012: Jan Feb Elements found: 16 panic: ratelimited, please open https://mbasic.facebook.com and navigate to your activity log to see more information.

goroutine 1 [running]: main.retrieveRequestString(0xc0002181b0, 0x0, 0x0, 0x0, 0x0) /Users/marcel/pr/facebook-delete/deleter.go:97 +0x2b1 main.(requester).Request(0xc000054fc0, 0xc000262000, 0x8b, 0xa, 0x4b19fb) /Users/marcel/pr/facebook-delete/deleter.go:70 +0xc5 main.(activityReader).ReadItems(0xc0000de600, 0x7dc, 0x2, 0x4b19fb, 0x1e) /Users/marcel/pr/facebook-delete/deleter.go:205 +0xcb main.(*deleter).Delete(0xc0001c75c0, 0xc000417ec0, 0x1, 0x1, 0xc0000e6100, 0x7, 0x8) /Users/marcel/pr/facebook-delete/deleter.go:344 +0x125 main.main() /Users/marcel/pr/facebook-delete/deleter.go:531 +0x4af

fiqryq commented 2 years ago

I just go banned after run this program sad :(

ruebot commented 2 years ago

-rateLimit=90000 is working for me.

paul-omalley commented 2 years ago

-rateLimit=90000 is working for me.

This seems to be working so far for me too. Obviously this means that it will take ages to complete, but I just started it when I started work and I will let it go all day I guess...

EDIT: I also seem to be ok with 60000 for the rate limit

lilszi commented 2 years ago

30000 cleared a whole year for me, got tempbanned searching the next year.

i guess it depends on your activity but one year took me 8 hours to search / delete with 30000 rate (~ 5000 elements)

cdwebb0 commented 2 years ago

-rateLimit=90000 is working for me.

This seems to be working so far for me too. Obviously this means that it will take ages to complete, but I just started it when I started work and I will let it go all day I guess...

EDIT: I also seem to be ok with 60000 for the rate limit

90000 worked for a few years, but eventually it had the same problem. I'm going to try 120000 next when I can rerun it.

Edit: Still getting rate limited using 120000 :(

davkvi commented 2 years ago

Does seem like 120000 works. :)

gbq6 commented 2 years ago

Does seem like 120000 works. :)

Did it work all the way through your activity log?

Edit: It works!

gitrndm commented 2 years ago

I also got banned and had to change my fb password. If I try to re-run the script it shows the following error message:

goroutine 1 [running]: main.(*fbLogin).StoreProfileID(0xc00007e480, {0xc00037c000, 0x135fb26}) /Users/xxx/facebook-delete/deleter.go:178 +0xbe main.(*fbLogin).IsLoggedIn(0xc00007e480) /Users/xxx/facebook-delete/deleter.go:172 +0x75 main.newFbLogin(0xc000069140) /Users/xxx/facebook-delete/deleter.go:113 +0x53 main.main() /Users/xxx/facebook-delete/deleter.go:522 +0x289 exit status 2

Any idea how to fix this? Thank you!

cdwebb0 commented 2 years ago

The script has a cache file that has your old password saved. You'll need to locate and delete the cache file and run the script again so it will prompt for your username/password again.

Cache file location on Windows: 'C:\Users\user-name\ .go-cookies'

gitrndm commented 2 years ago

Now FB immediately blocks me every single time I try to login via script. Can't event run it anymore - this is annoying.

l0r5 commented 2 years ago

Same here, I receive following message after the login via facebook-delete:

Attempting Login...
panic: Failed to login. Please open https://mbasic.facebook.com in a browser and login there. Facebook might requires an additional verification. Afterwards, you can try again.

goroutine 1 [running]:
main.newFbLogin(0xc00010b050)
    /Users/marcel/pr/facebook-delete/deleter.go:118 +0xad
main.main()
    /Users/marcel/pr/facebook-delete/deleter.go:522 +0x289

When I open the link from the message (https://mbasic.facebook.com), facebook asks me to provide my date of birth and change my password. When I do that and retry running the script with the new credentials, the same happens over and over again. Is there already a workaround for this issue?

efflicto commented 2 years ago

Same problem as l0r5, can't login. https://mbasic.facebook.com shows as if I'm logged in.

marcelja commented 2 years ago

You can try this as a workaround https://github.com/marcelja/facebook-delete/issues/8#issuecomment-931479288

I see that it happens more often that facebook asks for DOB (and for changing the password). This makes the login process a little complex. Maybe we can make the cookie export/import approach the default one.

AKmatiAK commented 2 years ago

Hi. I suggest to change app behavior to fetch and then directly delete instead of fetching whole month first, as now I am rate limited even at 120000ms. So, good idea would be to delete as much as possible before being banned.

sheeeng commented 2 years ago

I have encountered the same issue.

Searching elements from 2022:
Jan                                               Elements found:   0   panic: ratelimited, please open https://mbasic.facebook.com and navigate to your activity log to see more information.