Nah pada kesempatan ini kita bakal nemuin hal yang sangat menarik,yaitu penggunaan XML Console.
Apa si XML Console itu... Sebenarnya gue gak paham kalo disuruh bicara panjang lebar tentang XML Console,jadi kalo pengen tau lebih jelasnya langsung aja lu klik ini:
XEP xmpp.
Jadi yang gue share hanya sebagian dari XML Jabber Client,yg support ke nimbuzz via
BombusMod
Mulai aja dari pada lu bosen baca tulisan gue... :D
Service Discovery
<iq type="get" to="nimbuzz.com" id="disco1"><query xmlns="http://jabber.org/protocol/disco#items"/></iq>
Info Isi(user) di Chatroom
<iq type="get" to="room@conference.nimbuzz.com" id="disco1"><query xmlns="http://jabber.org/protocol/disco#items"/></iq>
Info Chatroom Config
<iq type="get" to="room@conference.nimbuzz.com" id="disco1"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>
Transport (gtalk,facebook,icq,dll)
<iq type="get" to="transport.nimbuzz.com" id="disco1"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>
Unregister Account
<iq type="set" to="nimbuzz.com" id="regac"><query xmlns="jabber:iq:register"><remove/></query></iq>
Register transport (gtalk,facebook,icq,dll)
<iq type="get" to="transport.nimbuzz.com" id="regac"><query xmlns="jabber:iq:register"/></iq>
Unreg Transport
<iq type="get" to="transport.nimbuzz.com" id="regac"><query xmlns="jabber:iq:register"><remove/></query></iq>
Pesan Private(PV)
<message type="chat" to="user@nimbuzz.com" id="1"><body>isi pesan</body></message>
Pesan Inbox
<message type="normal" to="user@nimbuzz.com" id="1"><subject>subyek</subject><body>isi pesan</body></message>
Pesan ChatRoom
<message type="groupchat" to="room@conference.nimbuzz.com" id="1"><body>isi pesan</body></message>
Subject Room
<message type="chat" to="user@nimbuzz.com" id="1"><subject>isi pesan</subject></message>
Pesan (PV ke Transport)
<message type="chat" to="user@transport.nimbuzz.com" id="1"><body>isi pesan</body></message>
Validasi Phone Number
<iq type="set" id="disco1" to="validate.nimbuzz.com"><validate xmlns="http://nimbuzz.com/protocol/validate"><p>+62</p></validate></iq>
Menu Offline
<iq type="set" id="disco1" to="nimbuzz.com"><query xmlns="http://jabber.org/protocol/offline"/></iq>
Melihat kiriman buzz
<iq type="get" id="disco1" to="buzz.nimbuzz.com"><query xmlns="http://nimbuzz.com/protocol/buzz-unread-retrieval"/></iq>
Bombus Group Private
<iq type="get" id="queryGS" to="nimbuzz.com"><query xmlns="jabber:iq:private"><gs xmlns="http://bombusmod.net.ru/groups"/></query></iq>
Lamanya user offline
<iq type="get" to="user@nimbuzz.com" id="1"><query xmlns="jabber:iq:last"/></iq>
Melihat waktu user
<iq type="get" to="jid@nimbuzz.com" id="1"><query xmlns="jabber:iq:time"/></iq>
Melihat selang waktu user masuk room
<iq type="get" to="room@conference.nimbuzz.com/nick_sasaran" id="1"><query xmlns="jabber:iq:time"/></iq>
Commands (self & nimbuzz apps)
<iq type="get" to="user@nimbuzz.com" id="disco1"><query xmlns="http://jabber.org/protocol/disco#info" node="http://jabber.org/protocol/commands"/></iq>
Copy All Code
Semoga dapat dimanfaatkan dengan baik dan menjadi kebaikan bagi semua, tapi jangan lupain gue yak... :D