message: update normalizeFacebookUrl to take proof object
diff: @@ -9,19 +9,19 @@ class Facebook extends Service {
  }
  static getProofUrl(proof) {
  - let proofUrl = super.getProofUrl(proof)
  - return this.normalizeFacebookUrl(proofUrl)
  + return this.normalizeFacebookUrl(proof)
  }
  /* Facebook url proofs should start with www. */
  - static normalizeFacebookUrl(proofUrl) {
  + static normalizeFacebookUrl(proof) {
  + let proofUrl = super.getProofUrl(proof)
  if(proofUrl.startsWith("https://facebook.com")) {
  let tokens = proofUrl.split("https://facebook.com")
  proofUrl = "https://www.facebook.com" + tokens[1]
  }
  let tokens = proofUrl.split("https://www.facebook.com/")[1].split("/posts/")
  let postId = tokens[1]
  - proofUrl = "https://www.facebook.com/" + username + "/posts/" + postId
  + proofUrl = "https://www.facebook.com/" + proof.identifier + "/posts/" + postId
  return proofUrl
  }
  }
  