Чел в теме искал как друзей чистить вот ему целый как по его словам "НЕРАБОЧИЙ" скрипт который чистит друзей в вк import requests import time ACCESS_TOKEN = "ВАШ ВК ТОКЕН ГПТ В ПОМОЩ КАК ЕГО НАЙТИ" API_VERSION = "5.199" def get_all_friends(): url = "https://api.vk.com/method/friends.get" params = { "access_token": ACCESS_TOKEN, "v": API_VERSION } response = requests.get(url, params=params).json() return response.get("response", {}).get("items", []) def delete_friend(user_id): url = "https://api.vk.com/method/friends.delete" params = { "access_token": ACCESS_TOKEN, "user_id": user_id, "v": API_VERSION } response = requests.get(url, params=params).json() if "response" in response and response["response"].get("success") == 1: print(f"[+] Удалён друг с ID {user_id}") else: print(f"[!] Ошибка при удалении {user_id}: {response}") def main(): friends = get_all_friends() print(f"Найдено {len(friends)} друзей.") confirm = input("Ты точно хочешь удалить всех друзей? Введи 'YES': ") if confirm != "YES": print("Операция отменена.") return for i, friend_id in enumerate(friends, 1): delete_friend(friend_id) time.sleep(1.5) # Пауза 1.5 сек. во избежание бана print(f"{i}/{len(friends)} удалено") if __name__ == "__main__": main() Python import requests import time ACCESS_TOKEN = "ВАШ ВК ТОКЕН ГПТ В ПОМОЩ КАК ЕГО НАЙТИ" API_VERSION = "5.199" def get_all_friends(): url = "https://api.vk.com/method/friends.get" params = { "access_token": ACCESS_TOKEN, "v": API_VERSION } response = requests.get(url, params=params).json() return response.get("response", {}).get("items", []) def delete_friend(user_id): url = "https://api.vk.com/method/friends.delete" params = { "access_token": ACCESS_TOKEN, "user_id": user_id, "v": API_VERSION } response = requests.get(url, params=params).json() if "response" in response and response["response"].get("success") == 1: print(f"[+] Удалён друг с ID {user_id}") else: print(f"[!] Ошибка при удалении {user_id}: {response}") def main(): friends = get_all_friends() print(f"Найдено {len(friends)} друзей.") confirm = input("Ты точно хочешь удалить всех друзей? Введи 'YES': ") if confirm != "YES": print("Операция отменена.") return for i, friend_id in enumerate(friends, 1): delete_friend(friend_id) time.sleep(1.5) # Пауза 1.5 сек. во избежание бана print(f"{i}/{len(friends)} удалено") if __name__ == "__main__": main()