I'm using XMPPHP to retrieve the roster of my application users GMail account.
Can XMPPHP also tell me the roster contacts online status?
I can't seem to find how to do that...
cheers.
I'm using XMPPHP to retrieve the roster of my application users GMail account.
Can XMPPHP also tell me the roster contacts online status?
I can't seem to find how to do that...
cheers.
I posted an answer to a similar question here: XMPPHP GTalk Status
Here are the keys to getting it to work:
The other key for me was turning on verbose logging. You do that in your initial object construction:
This will output a verbose log to whatever your output is (browser window in my case).
Here is an example of roster list and the online presence of GMail users;
I haven't tried it with Google Talk, but generally you're looking for