Hi, there,
I'll be receiving an AIM sessionId via external means which I'll then
be using with the wimas code to send IMs, etc. I see that I can use
startWithSessionId in the Session object, and pass along the AIM id.
But that method also requires a baseUrl and a User object. If I
understand things correctly, that baseUrl has to be a valid URL for a
fetchEvents call. I see that each fetchEvents call returns a new
baseUrl for each subsequent call, but how do I generate this first URL
to pass in to startWithSessionId when I'm passed in a sessionId from
an external source? Actually, from debugging, it's pretty easy to see
it's of the form:
http://<some ip>/aim/fetchEvents?aimsid=<sessionId>
where <sessionId> is the id I'm going to be passed. What about the
base ip? Can I use
api.oscar.aol.com there?
More details might help. In fact, what's happening is this. We have
a bunch of server-side code my component does not have access to that
implements the clientLogin handshake and calls startSession. I have a
secure way of getting the sessionId from this server-side code. I
have no access to user passwords, so I can't do the clientLogin myself
(and there are a bunch of other reasons it doesn't make sense for me
to do it most of the time).
Thanks for any help,
Mark