Skip to content

Instantly share code, notes, and snippets.

@tlevine
Created October 4, 2011 03:36
Show Gist options
  • Select an option

  • Save tlevine/1260847 to your computer and use it in GitHub Desktop.

Select an option

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);
}
@tlevine

tlevine commented Oct 4, 2011

Copy link
Copy Markdown
Author

@kamry2020

Copy link
Copy Markdown

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

mabra commented Sep 8, 2023

Copy link
Copy Markdown

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