how to add gtalk Contacts (General questions)
how to add gtalk Contacts
I try this code
wodXMPP1.GetContacts.Add (“ererer@gmail.com”)
but not work
pls give me help
tks
Re: how to add gtalk Contacts
Hi,
What environment are you using?
Basically this should work:
[code]Dim cnt as XMPPContact
Set cnt = wodXMPP1.Contacts.Add your_gmail_contact
cnt.Subscribe[/code]
This is a syntax for VB. Please try applying the same in your environment. Also, I would suggest that you check up on the samples provided with the component.
Regards,
Damba
Re: how to add gtalk Contacts
tks
it is work fine
but another questions
i add this contact
but at my contacts list this contact show as not Subscribed
Re: how to add gtalk Contacts
Hi,
you need to be authorized by the other side in order for that status to change. When subscribe is called, authorization request is sent to the contact asking him to subscribe. Once he accepts your request, you are subscribed.
Regards,
Damba