Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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

This comment has been minimized.

Show comment Hide comment
@kamry2020

This comment has been minimized.

Show comment Hide comment
@kamry2020

kamry2020 Oct 23, 2015

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 ?

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 ?

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