See comments section for more up-to-date versions of the script. The original script is from 2014 and will not work as is.
- Open news feed preferences on your Facebook menu (browser)
- Click people or pages
- Scroll down (or click see more) until your full list is loaded
- Run the script in your browser console
Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.
@ixus36900 asked about retracting sent (outgoing) friend requests, saying he found a way to get a list of links to the profiles of those whom he previously offered a friend request, and he's looking for a way to cancel (retract) those offers (requests).
Work in progress:
https://gist.github.com/jcarroll/1b97f5f81c4668bf3dfdb97b0ac0eb02
[class="x1b0d499 xi3auck"]
with the class from #3, above.Results: It did cancel all outgoing request requests for me. However, it also accepted all incoming friend requests also.
To cancel outgoing requests and not accept incoming requests, I would next look for an htnl class that is shared by the "cancel request" elements that is not part of the accept request elements.
Unfortunately, since I just accepted all incoming friend requests, I don't have any of those elements to inspect.
I'll be very interested to see progress on this, especially anyone with steps to get it working.
-jFc