       params["after"] = cursor!
     }
 
-    let path = type == .Taggable ? "me/taggable_friends" : "me/friends"
+    let path = type == .taggable ? "me/taggable_friends" : "me/friends"
     let request = FBSDKGraphRequest(graphPath: path, parameters: params)
     _ = request?.start { (_: FBSDKGraphRequestConnection?,
                           result: Any?,

}

private enum FriendType {
  case Taggable
  case AppUsers
}

class Facebook {


  static func getTaggableFriends(limit : QueryLimit,
                                 handler: @escaping EnumerationCallback) {
    enumerateFriends(type: .taggable, limit: limit, cursor: nil,
                     handler: handler)
  }

  static func getUserFriends(limit: QueryLimit,
                             handler: @escaping EnumerationCallback) {
    enumerateFriends(type: .appUsers, limit: limit, cursor: nil,
                     handler: handler)
  }

