"Facebook "A Look Back" Video Downloader" - Views: 1,025 · Hits: 1,025 - Type: Unlisted

Title:  Facebook "A Look Back" Video Downloader
Author:  Jordan Lutz
Website: www.jordanlutz.com
Email:  [email protected] / [email protected]
Facebook: www.facebook.com/jordan.b.lutz
Twitter:  www.twitter.com/Jordan_Lutz

Here are the steps to save your Facebook "A Look Back" video.
This currently works for Chrome, Firefox, and Safari on both Windows and Mac.

1. Navigate to www.facebook.com

2. Open the Developer's Console by pressing the following keys:
    Chrome (Windows):  Ctrl + Shift + J
    Chrome (Mac):  Cmd + Opt + J
    Firefox (Windows): Ctrl + Shift + K
    Firefox (Mac):  Cmd + Opt + K
    Safari:  Go to Preferences in the menu and on the Advanced tab check the box next to "Show Develop menu in menu bar".
                (Mac):  Cmd + Opt + C
                (Windows):  Ctrl + Alt + C

3.  Select the following code between the dashed lines and Copy:

function createRequest(method, url) {
  var xhr = new XMLHttpRequest();
  if ("withCredentials" in xhr) {
    xhr.open(method, url, true);
  } else if (typeof XDomainRequest != "undefined") {
    xhr = new XDomainRequest();
    xhr.open(method, url);
  } else {
    xhr = null;
  return xhr;

function makeRequest() {
  var url = 'https://www.facebook.com/lookback/';
  var xhr = createRequest('GET', url);
  if (!xhr) {

  xhr.onreadystatechange = function() {
    if (xhr.readyState == 4 && xhr.status == 200) {
          ss = xhr.responseText.split('[["params","')[1].split('"],["width","960"]')[0];
          var x = ss;
          var r = /\\u([\d\w]{4})/gi;
          x = x.replace(r, function (match, grp) {return String.fromCharCode(parseInt(grp, 16)); });
          x = unescape(x);
	  window.location = JSON.parse(x).video_data[0].hd_src;
    else if (xhr.status != 200) {
         var redirect = confirm("Code must be run from Facebook. Go there now?");
	 if (redirect == true) {
	     window.location = "http://www.facebook.com";
	     alert("Redirecting to Facebook... Run code in console once the page has loaded.");
	 else {

4.  Paste the code into the Developer's Console that you opened in Step 2.

5.  Press <Enter>

6.  If successful, you should be directed to a page that contains only the "A Look Back" video. If not, you will be prompted to navigate to Facebook's site first and instructed to paste the code again.

7.  You can right click on the video and select "Copy video URL" for sharing the link or select "Save video as..." to download and save the video to your computer for use such as uploading to YouTube, using in your own videos, email, etc.

8.  Enjoy!