title: How to select unique Id in Firebase
body: <p>I am trying to get the unique id from firebase</p>
  
  <p><a href="https://i.stack.imgur.com/T2Q1N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T2Q1N.png" alt="enter image description here"></a></p>
  
  <pre><code>var likeref = new Firebase('https://myurl.firebaseio.com/' + "/note" + key +'/like');
  </code></pre>
  
  <p>How do i get the path for the key which is -KAoh5I8j9sqFa_BaN4L  so that i get the url</p>
  
  <pre><code>https://myurl.firebaseio.com/note/-KAoh5I8j9sqFa_BaN4L/like 
  </code></pre>
  
  <p>so i can updated data. Help woudl be really appreciated.</p>