title: Promise.all with Firebase DataSnapshot.forEach
body: <p>I have a couple of HTML select's (dropdowns) that are populated from a Firebase node called "states" (see image below).  Upon choosing a city, the below function fires and should retrieve all meetings occurring in that City.  There is a separate "meetings" node and each meeting has various key/value pairs such as street, time, etc.</p>
  
  <p>I (think that I) want to use Promise.all because I want to do a Firebase read (a .once on each meetingID) inside the DataSnapshot.forEach.  Below does not work.</p>
  
  <pre><code>function loadMeetings(city,state){
      //$('#meetingsTable').empty();
      var reads = [];
      ref.child('states').child(state).child(city).once('value').then(function(snapshot) {
          snapshot.forEach(function(childSnapshot) {
              var id = childSnapshot.key();
              var dfd = ref.child('meetings').child(id).once('value').then(function(snap) {
                  // The Promise was fulfilled.
              }, function(error) {
                  // The Promise was rejected.
                  console.error(error);
              });
              reads.push( dfd );
          });       
      }, function(error) {
          // The Promise was rejected.
          console.error(error);
      });
  
      Promise.all(reads).then(function(values) { 
        console.log(values); // [snap, snap, snap] 
      });
  }
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
    "geofire" : {
      "25dbab9c-8e4e-45ce-a69b-8641b6579560" : {
        ".priority" : "9q5cc9ye4w",
        "g" : "9q5cc9ye4w",
        "l" : [ 34.0677809, -118.4016105 ]
      },
      "3d2c7948-16e5-466c-b0d8-0a9e24ed7529" : {
        ".priority" : "7zzzzzzzzz",
        "g" : "7zzzzzzzzz",
        "l" : [ 0, 0 ]
      },
      "3fc846d4-7e55-4134-a0f5-9393aaf02269" : {
        ".priority" : "dhyy1zhnu1",
        "g" : "dhyy1zhnu1",
        "l" : [ 27.8130538, -80.42524100000003 ]
      },
      "5952bd9f-8438-44b0-addb-a5b806dab5da" : {
        ".priority" : "9vw1zzv421",
        "g" : "9vw1zzv421",
        "l" : [ 31.288082, -92.46505450000001 ]
      },
      "7001c8a7-c4f0-44ba-a4fc-2dba32097cc6" : {
        ".priority" : "9vqe68qs06",
        "g" : "9vqe68qs06",
        "l" : [ 30.1046126, -91.99056969999998 ]
      },
      "ecb350d6-6664-4f95-9c1c-2fd1d2f11a40" : {
        ".priority" : "9vrk9tstc9",
        "g" : "9vrk9tstc9",
        "l" : [ 30.353474, -90.98251599999998 ]
      }
    },
    "markup" : {
      "addMeeting" : "&lt;form class=\"outline\"&gt;&lt;div class=\"row\"&gt;&lt;h1 class=\"blue topTitle col-xs-10 col-xs-offset-1 col-md-4 col-md-offset-4\"&gt;New Meeting&lt;/h1&gt;&lt;/div&gt;&lt;br&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-3 col-md-offset-2\"&gt; &lt;input type=\"text\" class=\"form-control\" id=\"meetingName\" placeholder=\"Meeting Name\"&gt; &lt;/div&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-4 col-md-pull-1\"&gt; &lt;input type=\"text\" class=\"form-control\" id=\"meetingStreet\" placeholder=\"Street\" required&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-3 col-md-offset-2\"&gt; &lt;input type=\"text\" class=\"form-control\" id=\"meetingCity\" placeholder=\"City\" required&gt; &lt;/div&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-2 col-md-pull-1\"&gt; &lt;select class=\"form-control c-select\" id=\"meetingState\" required&gt;&lt;option&gt;Alabama &lt;/option&gt;&lt;option&gt;Alaska&lt;/option&gt;&lt;option&gt;Arizona&lt;/option&gt;&lt;option&gt;Arkansas&lt;/option&gt;&lt;option&gt;California&lt;/option&gt;&lt;option&gt;Colorado&lt;/option&gt;&lt;option&gt;Connecticut&lt;/option&gt;&lt;option&gt;Delaware&lt;/option&gt;&lt;option&gt;Florida&lt;/option&gt;&lt;option&gt;Georgia&lt;/option&gt;&lt;option&gt;Hawaii&lt;/option&gt;&lt;option&gt;Idaho&lt;/option&gt;&lt;option&gt;Illinois&lt;/option&gt;&lt;option&gt;Indiana&lt;/option&gt;&lt;option&gt;Iowa&lt;/option&gt;&lt;option&gt;Kansas&lt;/option&gt;&lt;option&gt;Kentucky&lt;/option&gt;&lt;option&gt;Louisiana&lt;/option&gt;&lt;option&gt;Maine&lt;/option&gt;&lt;option&gt;Maryland&lt;/option&gt;&lt;option&gt;Massachusetts&lt;/option&gt;&lt;option&gt;Michigan&lt;/option&gt;&lt;option&gt;Minnesota&lt;/option&gt;&lt;option&gt;Mississippi&lt;/option&gt;&lt;option&gt;Missouri&lt;/option&gt;&lt;option&gt;Montana&lt;/option&gt;&lt;option&gt;Nebraska&lt;/option&gt;&lt;option&gt;Nevada&lt;/option&gt;&lt;option&gt;New Hampshire&lt;/option&gt;&lt;option&gt;New Jersey&lt;/option&gt;&lt;option&gt;New Mexico&lt;/option&gt;&lt;option&gt;New York&lt;/option&gt;&lt;option&gt;North Carolina&lt;/option&gt;&lt;option&gt;North Dakota&lt;/option&gt;&lt;option&gt;Ohio&lt;/option&gt;&lt;option&gt;Oklahoma&lt;/option&gt;&lt;option&gt;Oregon&lt;/option&gt;&lt;option&gt;Pennsylvania&lt;/option&gt;&lt;option&gt;Rhode Island&lt;/option&gt;&lt;option&gt;South Carolina&lt;/option&gt;&lt;option&gt;South Dakota&lt;/option&gt;&lt;option&gt;Tennessee&lt;/option&gt;&lt;option&gt;Texas&lt;/option&gt;&lt;option&gt;Utah&lt;/option&gt;&lt;option&gt;Vermont&lt;/option&gt;&lt;option&gt;Virginia&lt;/option&gt;&lt;option&gt;Washington&lt;/option&gt;&lt;option&gt;West Virginia&lt;/option&gt;&lt;option&gt;Wisconsin&lt;/option&gt;&lt;option&gt;Wyoming&lt;/option&gt;&lt;/select&gt;&lt;/div&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-2 col-md-pull-2\"&gt; &lt;input type=\"text\" class=\"form-control\" id=\"meetingZip\" placeholder=\"ZIP\" required&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-5 col-xs-offset-1 col-md-2 col-md-offset-2\"&gt; &lt;input type=\"text\" class=\"form-control\" id=\"latitude\" placeholder=\"latitude\" disabled&gt; &lt;/div&gt;&lt;div class=\"col-xs-5 col-md-2 pull-left\"&gt; &lt;input type=\"text\" class=\"form-control\" id=\"longitude\" placeholder=\"longitude\" disabled&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-2 col-md-offset-2\"&gt;&lt;select class=\"form-control c-select\" id=\"weekday\"&gt;&lt;option&gt;Sunday&lt;/option&gt;&lt;option&gt;Monday&lt;/option&gt;&lt;option&gt;Tuesday&lt;/option&gt;&lt;option&gt;Wednesday&lt;/option&gt;&lt;option&gt;Thursday&lt;/option&gt;&lt;option&gt;Friday&lt;/option&gt;&lt;option&gt;Saturday&lt;/option&gt;&lt;/select&gt;&lt;/div&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-3 col-md-pull-1\"&gt;&lt;div class=\"form-inline\"&gt;&lt;div class=\"form-group\"&gt;&lt;select class=\"form-control c-select\" id=\"hour\"&gt;&lt;option&gt;1&lt;/option&gt;&lt;option&gt;2&lt;/option&gt;&lt;option&gt;3&lt;/option&gt;&lt;option&gt;4&lt;/option&gt;&lt;option&gt;5&lt;/option&gt;&lt;option&gt;6&lt;/option&gt;&lt;option&gt;7&lt;/option&gt;&lt;option&gt;8&lt;/option&gt;&lt;option&gt;9&lt;/option&gt;&lt;option&gt;10&lt;/option&gt;&lt;option&gt;11&lt;/option&gt;&lt;option&gt;12&lt;/option&gt;&lt;/select&gt;&lt;select class=\"form-control c-select\" id=\"minute\"&gt;&lt;option&gt;:00&lt;/option&gt;&lt;option&gt;:15&lt;/option&gt;&lt;option&gt;:30&lt;/option&gt;&lt;option&gt;:45&lt;/option&gt;&lt;/select&gt;&lt;select class=\"form-control c-select\" id=\"timeframe\"&gt;&lt;option&gt;AM&lt;/option&gt;&lt;option&gt;PM&lt;/option&gt;&lt;/select&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-10 col-xs-offset-1 col-md-4 col-md-offset-2\"&gt; &lt;label class=\"radio-inline c-input c-radio\"&gt; &lt;input type=\"radio\" name=\"meetingType\" id=\"openMeeting\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Open Meeting &lt;/label&gt; &lt;label class=\"radio-inline c-input c-radio\"&gt; &lt;input type=\"radio\" name=\"meetingType\" id=\"closedMeeting\" checked&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Closed Meeting &lt;/label&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-5 col-xs-offset-1 col-md-2 col-md-offset-2\"&gt; &lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"mensOnly\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Mens Only &lt;/label&gt;&lt;br&gt;&lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"womensOnly\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Womens Only &lt;/label&gt;&lt;br&gt;&lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"childcare\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Childcare &lt;/label&gt; &lt;/div&gt;&lt;div class=\"col-xs-5 col-xs-offset-1 col-md-2 col-md-pull-1\"&gt; &lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"meditation\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Meditation &lt;/label&gt;&lt;br&gt;&lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"speaker\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Speaker &lt;/label&gt;&lt;br&gt;&lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"step\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Step &lt;/label&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-5 col-xs-offset-1 col-md-2 col-md-offset-2\"&gt; &lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"spanish\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Español &lt;/label&gt;&lt;br&gt;&lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"bigBook\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Big Book &lt;/label&gt;&lt;br&gt;&lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"discussion\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Discussion &lt;/label&gt; &lt;/div&gt;&lt;div class=\"col-xs-5 col-xs-offset-1 col-md-2 col-md-pull-1\"&gt; &lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"tradition\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Tradition &lt;/label&gt;&lt;br&gt;&lt;label class=\"c-input c-checkbox\"&gt; &lt;input type=\"checkbox\" id=\"beginner\"&gt; &lt;span class=\"c-indicator\"&gt;&lt;/span&gt; Beginner &lt;/label&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class=\"form-group row\"&gt;&lt;div class=\"col-xs-5 col-xs-offset-8 col-md-2 col-md-offset-8\"&gt; &lt;input class=\"btn btn-primary\" type=\"submit\" id=\"submit\"&gt;&lt;/input&gt; &lt;/div&gt;&lt;/div&gt;&lt;/form&gt;",
      "admin" : "&lt;ul id=\"tabs\" class=\"nav nav-tabs\"&gt; &lt;li class=\"nav-item\"&gt; &lt;a data-toggle=\"tab\" class=\"nav-link active\" href=\"#adminWelcome\" role=\"tab\"&gt;Welcome&lt;/a&gt; &lt;/li&gt;&lt;li class=\"nav-item dropdown\"&gt; &lt;a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"&gt;Meetings&lt;/a&gt; &lt;div class=\"dropdown-menu\"&gt; &lt;a data-toggle=\"tab\" class=\"dropdown-item\" href=\"#addMeeting\"&gt;Add&lt;/a&gt; &lt;a data-toggle=\"tab\" class=\"dropdown-item\" href=\"#manageMeeting\"&gt;Manage&lt;/a&gt; &lt;/div&gt;&lt;/li&gt;&lt;li class=\"nav-item dropdown\"&gt; &lt;a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"&gt;Users&lt;/a&gt; &lt;div class=\"dropdown-menu\"&gt; &lt;a data-toggle=\"tab\" class=\"dropdown-item\" href=\"#addUser\"&gt;Add&lt;/a&gt; &lt;a data-toggle=\"tab\" class=\"dropdown-item\" href=\"#manageUser\"&gt;Manage&lt;/a&gt; &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;div class=\"tab-content\"&gt; &lt;div id=\"adminWelcome\" class=\"tab-pane fade in active\" role=\"tabpanel\"&gt; &lt;h3 class=\"topTitle\"&gt;Welcome.&lt;/h3&gt;&lt;div class=\"loader\"&gt;&lt;img src=\"images/loading.gif\"&gt;&lt;p class=\"blue\"&gt;Running Scripts...&lt;/p&gt;&lt;/div&gt;&lt;script&gt;adminInit();&lt;/script&gt; &lt;/div&gt;&lt;div id=\"addMeeting\" class=\"tab-pane fade\" role=\"tabpanel\"&gt;&lt;div class=\"loader\"&gt;&lt;img src=\"images/loading.gif\"&gt;&lt;p class=\"blue\"&gt;Running Scripts...&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=\"manageMeeting\" class=\"tab-pane fade\" role=\"tabpanel\"&gt;&lt;div class=\"loader\"&gt;&lt;img src=\"images/loading.gif\"&gt;&lt;p class=\"blue\"&gt;Running Scripts...&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=\"addUser\" class=\"tab-pane fade\" role=\"tabpanel\"&gt;&lt;div class=\"loader\"&gt;&lt;img src=\"images/loading.gif\"&gt;&lt;p class=\"blue\"&gt;Running Scripts...&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=\"manageUser\" class=\"tab-pane fade\" role=\"tabpanel\"&gt;&lt;div class=\"loader\"&gt;&lt;img src=\"images/loading.gif\"&gt;&lt;p class=\"blue\"&gt;Running Scripts...&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;",
      "adminWelcome" : "&lt;p&gt;This is the admin welcome pane&lt;/p&gt;",
      "login" : "&lt;div class=\"row topMargin myLogin col-xs-10 col-xs-offset-1 col-md-6 col-md-offset-3\"&gt;&lt;br&gt;&lt;h1 class=\"\"&gt;Log In&lt;/h1&gt;&lt;br&gt;&lt;div class=\"btn-group-vertical\" role=\"group\"&gt;&lt;button class=\"btn btn-secondary myButton\" id=\"facebook\"&gt;&lt;img src=\"images/facebook.png\" class=\"middle\" alt=\"Facebook logo\" height=\"24\"&gt; Facebook&lt;/button&gt;&lt;button class=\"btn btn-secondary myButton\" id=\"google\"&gt;&lt;img src=\"images/google.png\" class=\"middle\" alt=\"Google logo\" height=\"24\"&gt; Google&lt;/button&gt;&lt;button class=\"btn btn-secondary myButton\" id=\"twitter\"&gt;&lt;img src=\"images/twitter.png\" class=\"middle\" alt=\"Twitter logo\" height=\"24\"&gt; Twitter&lt;/button&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;",
      "manageMeeting" : "&lt;form class=\"form-inline outline\"&gt;&lt;div class=\"form-group\"&gt;&lt;label for=\"ddState\"&gt;Filter&amp;nbsp; &lt;/label&gt;&lt;select class=\"form-control\" id=\"ddState\" disabled&gt;&lt;/select&gt;&lt;/div&gt;&lt;div class=\"form-group\"&gt;&lt;label for=\"ddState\"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/label&gt;&lt;select class=\"form-control state\" id=\"ddCity\" disabled&gt;&lt;/select&gt;&lt;/div&gt;&lt;/form&gt;"
    },
    "meetings" : {
      "25dbab9c-8e4e-45ce-a69b-8641b6579560" : {
        "author" : "Ron Royston",
        "beginner" : true,
        "bigBook" : true,
        "childcare" : false,
        "city" : "los angeles",
        "day" : "sunday",
        "discussion" : false,
        "hour" : "4",
        "key" : "25dbab9c-8e4e-45ce-a69b-8641b6579560",
        "latitude" : 34.0677809,
        "layer" : "",
        "longitude" : -118.4016105,
        "meditation" : false,
        "meetingOpen" : false,
        "min" : ":00",
        "name" : "highrise",
        "onlyMen" : false,
        "onlyWomen" : true,
        "spanish" : true,
        "speaker" : false,
        "state" : "california",
        "step" : false,
        "street" : "111 rodeo",
        "timeframe" : "pm",
        "timestamp" : 1457470568863,
        "tradition" : true,
        "type" : "",
        "user" : "facebook:196986260658947",
        "zip" : "90210"
      },
      "3d2c7948-16e5-466c-b0d8-0a9e24ed7529" : {
        "author" : "Ron Royston",
        "beginner" : false,
        "bigBook" : false,
        "childcare" : false,
        "city" : "baton rouge",
        "day" : "sunday",
        "discussion" : false,
        "hour" : "1",
        "key" : "3d2c7948-16e5-466c-b0d8-0a9e24ed7529",
        "latitude" : 0,
        "layer" : "",
        "longitude" : 0,
        "meditation" : false,
        "meetingOpen" : false,
        "min" : ":00",
        "name" : "asdf",
        "onlyMen" : false,
        "onlyWomen" : false,
        "spanish" : false,
        "speaker" : false,
        "state" : "louisiana",
        "step" : false,
        "street" : "234 kjhkj",
        "timeframe" : "am",
        "timestamp" : 1457470215505,
        "tradition" : false,
        "type" : "",
        "user" : "facebook:196986260658947",
        "zip" : "70817"
      },
      "3fc846d4-7e55-4134-a0f5-9393aaf02269" : {
        "author" : "Ron Royston",
        "beginner" : false,
        "bigBook" : true,
        "childcare" : true,
        "city" : "miami",
        "day" : "sunday",
        "discussion" : true,
        "hour" : "1",
        "key" : "3fc846d4-7e55-4134-a0f5-9393aaf02269",
        "latitude" : 27.8130538,
        "layer" : "",
        "longitude" : -80.42524100000003,
        "meditation" : false,
        "meetingOpen" : false,
        "min" : ":00",
        "name" : "beach",
        "onlyMen" : false,
        "onlyWomen" : false,
        "spanish" : true,
        "speaker" : false,
        "state" : "florida",
        "step" : false,
        "street" : "120 a1a",
        "timeframe" : "am",
        "timestamp" : 1457470499310,
        "tradition" : false,
        "type" : "",
        "user" : "facebook:196986260658947",
        "zip" : "33101"
      },
      "5952bd9f-8438-44b0-addb-a5b806dab5da" : {
        "author" : "Ron Royston",
        "beginner" : true,
        "bigBook" : false,
        "childcare" : false,
        "city" : "alexandria",
        "day" : "sunday",
        "discussion" : false,
        "hour" : "1",
        "key" : "5952bd9f-8438-44b0-addb-a5b806dab5da",
        "latitude" : 31.288082,
        "layer" : "",
        "longitude" : -92.46505450000001,
        "meditation" : false,
        "meetingOpen" : false,
        "min" : ":00",
        "name" : "howdy",
        "onlyMen" : false,
        "onlyWomen" : false,
        "spanish" : false,
        "speaker" : false,
        "state" : "louisiana",
        "step" : false,
        "street" : "5676 city park",
        "timeframe" : "am",
        "timestamp" : 1457470284850,
        "tradition" : true,
        "type" : "",
        "user" : "facebook:196986260658947",
        "zip" : "71301"
      },
      "7001c8a7-c4f0-44ba-a4fc-2dba32097cc6" : {
        "author" : "Ron Royston",
        "beginner" : false,
        "bigBook" : false,
        "childcare" : false,
        "city" : "lafayette",
        "day" : "sunday",
        "discussion" : false,
        "hour" : "1",
        "key" : "7001c8a7-c4f0-44ba-a4fc-2dba32097cc6",
        "latitude" : 30.1046126,
        "layer" : "",
        "longitude" : -91.99056969999998,
        "meditation" : false,
        "meetingOpen" : false,
        "min" : ":00",
        "name" : "test3",
        "onlyMen" : false,
        "onlyWomen" : false,
        "spanish" : false,
        "speaker" : false,
        "state" : "louisiana",
        "step" : false,
        "street" : "234 kjhkj",
        "timeframe" : "am",
        "timestamp" : 1457470252872,
        "tradition" : false,
        "type" : "",
        "user" : "facebook:196986260658947",
        "zip" : "70500"
      },
      "ecb350d6-6664-4f95-9c1c-2fd1d2f11a40" : {
        "author" : "Ron Royston",
        "beginner" : false,
        "bigBook" : false,
        "childcare" : false,
        "city" : "baton rouge",
        "day" : "sunday",
        "discussion" : false,
        "hour" : "5",
        "key" : "ecb350d6-6664-4f95-9c1c-2fd1d2f11a40",
        "latitude" : 30.353474,
        "layer" : "",
        "longitude" : -90.98251599999998,
        "meditation" : true,
        "meetingOpen" : false,
        "min" : ":00",
        "name" : "test1",
        "onlyMen" : false,
        "onlyWomen" : false,
        "spanish" : false,
        "speaker" : true,
        "state" : "louisiana",
        "step" : false,
        "street" : "18432 lake iris",
        "timeframe" : "pm",
        "timestamp" : 1457470192281,
        "tradition" : false,
        "type" : "",
        "user" : "facebook:196986260658947",
        "zip" : "70817"
      }
    },
    "states" : {
      "california " : {
        "los angeles" : {
          "25dbab9c-8e4e-45ce-a69b-8641b6579560" : true
        }
      },
      "florida " : {
        "miami" : {
          "3fc846d4-7e55-4134-a0f5-9393aaf02269" : true
        }
      },
      "louisiana " : {
        "alexandria" : {
          "5952bd9f-8438-44b0-addb-a5b806dab5da" : true
        },
        "baton rouge" : {
          "3d2c7948-16e5-466c-b0d8-0a9e24ed7529" : true,
          "ecb350d6-6664-4f95-9c1c-2fd1d2f11a40" : true
        },
        "lafayette" : {
          "7001c8a7-c4f0-44ba-a4fc-2dba32097cc6" : true
        }
      }
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/SuTrf.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/SuTrf.jpg" alt="enter image description here"></a></p>