Delete friends requests?
Is it possible to delete ALL friends request on Facebook开发者_StackOverflow社区 at once using api or something..
There are over 1000 requests.
If API is not possible, then what the other solution?
Facebook is already providing Hide All Requests
Button.
And Still you can try below javascript code:
javascript:var inputs=document.getElementsByTagName('input');for(i in inputs){if(inputs[i].value == 'Not now' || inputs[i].value == 'Ignore')inputs[i].click();}
put this script on address bar and Hit Enter.
Step 1 – Go to the Facebook Friends On Desktop version (Web) and Scroll Down to the Bottom (Don’t forget to scroll down that list all the way to the bottom):
The link is : https://www.facebook.com/friends
Step 2 – Go to the Chrome/Firefox CONSOLE :
Use the keyboard shortcut Ctrl+Shift+I or select Inspect Element from the menu by right-clicking any element of the page. Select CONSOLE
Step 3 – Paste this script on the CONSOLE :
PS: FACEBOOK -French version
var list = document.querySelectorAll('[aria-label="Supprimer"]');
for(var i=0; i != list.length; i++)
{
list[i].click();
};
PS: FACEBOOK -English version
var list = document.querySelectorAll('[aria-label="Delete"]');
for(var i=0; i != list.length; i++)
{
list[i].click();
};
精彩评论