Pass name
Is it possible to pass name? I have the users first and last name in my application already, would love to just pass that as a parameter to the init() call.
Comments (6)
-
-
+1 for this feature, even with the possibility of an error (for example we don't have 2 customers with the exact same name). Just an idea: if hipchat returns with this error, you can reload the iframe with "Firstname Lastname#randomnumber".
-
+1 and I do aprove the solution proposed by @VisionLin , would totally fit my need.
-
Visionline's solution would work perfectly. @mrdon any thoughts on implementing this?
-
As a part of your initialization API you could accept a callback that will receive success or failure. Or do separate success/failure callbacks, whichever suits your style.
I am wondering if it is possible to create an optional login feature for this widget... For our use case, it will be rare that we need guest functionality, we are mainly just looking for a way to support the same chat system on the website as people will have on their mobile phones.
-
I would love to see this feature implemented - it would be perfect for our needs.
- Log in to comment
I didn't add support for that as HipChat requires the first and last name to be unique. Therefore, you'd have to deal with errors somehow and wouldn't know about them until after the iframe is retrieved. Do you have an idea on how better to solve that?