Skip to content

Instantly share code, notes, and snippets.

@rahul286
Last active June 22, 2018 09:06
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahul286/968674a584d3fc7a54f5eee4c48bbc59 to your computer and use it in GitHub Desktop.
Save rahul286/968674a584d3fc7a54f5eee4c48bbc59 to your computer and use it in GitHub Desktop.
Count Facebook Friend Requests You Receive Everyday
// goto https://www.facebook.com/rahulb286/allactivity?privacy_source=activity_log&log_filter=receivedfriendrequests
// open js console
// insert jquery by copy-pasting http://code.jquery.com/jquery-latest.min.js
jQuery('#pagelet_all_activity_2018_6 ._5ep8').each(function (index) {
console.log( jQuery( this ).text() + " : " + jQuery(this).next('.uiList').find('a.profileLink').filter(':odd').length)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment