Buddy Service-Send Friend Request

0 votes
Hi All

I want to use buddy service. I will send friend request to users. What I am trying to do it is that there will be a search box. User will enter some text. I will retrieve users whose usernames start with searched text. How Can I achieve that? I did not found any api to get users whose name start with blabla. I guess custom code is needed here. If yes, how should be the custom code here?

Are there any free game examples in market that uses buddy manager? Maybe I can look it how they use it...

What I am trying to do is in this game:https://itunes.apple.com/tr/app/online-head-ball/id885788690?mt=8 or https://play.google.com/store/apps/details?id=com.izmo.onlinekafatopu&hl=tr for android

Thanks

Gökhan
asked Apr 4, 2016 in Unity by gokhan (20 points)

1 Answer

0 votes

Hi Gokhan,

 

Using user management API, you have the way to get the user based on their name. Please have a look at this link for the code snippet and let me know if it helps.

P.S This method takes other meta headers which contain the value of searched text which have along with you at the time of searching users. 

Regards,

Himanshu Sharma

answered Apr 5, 2016 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...