title: How can I call a post ID from a Firebase Database
body: <p>What I would like to do is call a certain post ID:</p>
  
  <p><img src="https://i.stack.imgur.com/hX50P.png" alt="Image"></p>
  
  <p>depending on what cell is tapped on a UITableView and display data from it on a different ViewController. Currently, each post has a different ID along with data shown in the photo above</p>
  
  <p>I have seen this method used to call a username based on an ID:</p>
  
  <pre><code>let uid = FIRAuth.auth()?.currentUser?.uid
          FIRDatabase.database().reference().child("users").child(uid!).observeSingleEvent(of: .value, with: { (snapshot) in
              if let dictionary = snapshot.value as? [String: AnyObject] {
                  self.userLabel.text = dictionary["username"] as? String
              }
          })
  </code></pre>
  
  <p>Would this be possible to do this with a post ID like shown in the screenshot above? If so, what would be the simplest way to do that?</p>