Add a buddy
Learn how to add buddies to your friend list.
Read time 1 minuteLast updated 20 hours ago
After a user signs in, if they want to add a buddy, the game must send a vx_account_buddy_set request. The following code displays an example of this process with the sample issuer key "MyIssuer":
vx_req_account_buddy_set req;vx_req_account_buddy_set_create(&req);req->account_handle = vx_strdup(".issuer-w-dev.mytestaccountname.");req->buddy_uri = vx_strdup(“sip:.issuer-w-dev.mybuddy.@mt1s.vivox.com”);vx_issue_request3(&req->base, &request_count);