Skip to content

Instantly share code, notes, and snippets.

@tlevine
Created October 4, 2011 03:36
Show Gist options
  • Save tlevine/1260847 to your computer and use it in GitHub Desktop.
Save tlevine/1260847 to your computer and use it in GitHub Desktop.
Expand someone's facebook wall
//Run this on the person's facebook profile page to expand the wall
var INTERVAL=2000; // Time between wall expansions, in milliseconds
var MAX_TRIES=50; // How many times to try expanding the wall
function expand(){
var foo=document.getElementById('profile_pager').children[0].children[0].children[0].children[0].onclick;
if (typeof(foo)!='undefined'){
foo();
}
}
for (var i = 1; i < MAX_TRIES; i++){
setTimeout(expand,i*INTERVAL);
}
@kamry2020
Copy link

hello can you please help me is there any way to auto expand all posts and comments with reply and see more for any facebook profile or page ?

@mabra
Copy link

mabra commented Sep 8, 2023

Bookmarklet here

Generates XSS alarm from NoScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment