bjeeva / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

Send Buddy Request #104

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm not seeing any way to send a buddy request via the xmpphp api.  Is there 
one?

I am trying to design a site that allows people to subscribe to updated 
information that will be sent to them regularly via chat.  They would go to the 
site, fill in their google chat ID, and "subscribe" to the service.

It appears that I cant send them any messages using xmpphp (or any other chat 
client obviously) until after the buddy invite is confirmed.  I would like to 
automate the buddy invitation so that when they subscribe to my service on the 
website, it automatically sends off the chat invitation, and asks them to 
confirm the invitation and then click a second button to send a test chat.

I have everything working except the automated buddy request. Is there a way 
using this API (or some other work around) that will allow me to automate that?

Thanks for a great API.

Original issue reported on code.google.com by brentoboy@gmail.com on 29 Dec 2010 at 8:07