Some of them used to work by forcing/initiating a conversation connection with you, if the connection was made, it would immediately terminate it and then it would report a online status.
However if you set your account so only those in your contact list can see your online status, it will always return offline.