4

Is there a way to download an entire Facebook page to read it offline?

I would like to read posts from particular Facebook page from the oldest to the newest - to do that I would need to scroll to the bottom of the page which in case of pages that have been posting for years it's impossible. My next thought was to download the entire page, but is it possible?

EDIT: scrolling down the page even when using the END key does not work - because there is so much content the browser finally gives up and crashes - even I have a good specs mac

4

Facebook only loads the page a section at a time. If you were to look at the HTML when you first load the page, it only includes what you see. After you scroll to the bottom, and more of the page loads, then more HTML gets added. So if you try to download when the page first loads, you'll only get what's visible.

Here's a solution:

  • Open the Facebook page in your web browser
  • Press the "End" key to jump to the bottom
  • Facebook will load more of the page
  • Press the "End" key again
  • More of the page loads
  • Keep doing that until you reach the end
  • Then press Ctrl-S or Cmd-S to make your web browser save the page

That should save the entire page on your computer. It will comprise one main HTML file and a lot of other files (like pictures) in a folder. You can open the HTML file when you're offline, and you should be able to see the whole Facebook page.

  • 1
    or if it's going to take you a really long time to scroll through the whole page, you can write up a quick JavaScript program to do it for you, use a while loop to keep scrolling until hit the bottom (scroll position doesn't change any more) and inside the loop do something like window.scrollBy(0, 3000); to keep scrolling down. – freginold Jan 5 '17 at 18:41
  • on Mac 💻 there is no End key – Ivanov Jan 7 '17 at 16:46
  • @FyodorGlebov There is no key, that's true. But if you Google it, you'll find that you can hold down the Fn key and press the right arrow key. That works just like the PC keyboard's end key (according to the site I looked at). – BrettFromLA Jan 8 '17 at 1:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.