- create desktop app
- auth, using this link(replace app id with your app id, e.g. 123):
https://oauth.vk.com/authorize?client_id=APPID&scope=friends,offline&redirect_uri=https://oauth.vk.com/blank.html& display=page&v=API_5.52&response_type=token
- copy token from it to script
api.php
to var$token
- use it from console:
php scriptname.php
- Friends(
friends
folder)- I follow(from you to others)
- get all YOUR friend requests(from you to others):
get_ifollow.php
- this list will be saved to
ifollow.txt
with 1k records - for best performing(without Captcha) run this script and then
delete.php
and then again this script...
- this list will be saved to
- delete all YOUR friend requests(from you to others):
delete.php
- get all YOUR friend requests(from you to others):
- Followers(from others to you)
- add all of them:
get_followers.php
&& runadd_followers.php
and so on again...
- delete all followers(convert them to subscribers)
- get followers, rename
followers.txt
toifollow.txt
and rundelete.php
- get followers, rename
- add all of them:
- Friend requests(from others to you)
- add all of them:
get_friendrequests.php
&& runadd_followers.php
and so on again...
- add all of them:
- Remove followers
- if you want to remove follower/s you need to ban them for some time(1-3 days)
-
get_followers.php
&& runban_followers.php
- I follow(from you to others)
- scripts run 1 action per second(to avoid Captcha)
- for one getting method you can get max 1000 of ids
- so count by yourself... ;)
On accounts without associated phone number for some magic reason, with using 1 sec delay, there is no much Captcha alerts
There are hidden limits of using VK api methods in 1 day, so just try again tomorrow ;)
- to remove every showing user/group in your feed
- open
edit feed
in youvk.com/feed
and run in browser console(usuallyF12
) var i = 0; while(i < 893){ $(".olist_item_wrap_on").click(); i++;}
- where 893 is number of pages you want to hide
- than click save
- open
- add get_dogs(deleted or bans users)
- add instruction for deleting "dogs" users
- rewrite using OOP and php-cli style
- automate getting all users
MIT
Any pull requests/suggestions/help requests/questions are welcome, just open issue/PR