java - Instagram Search query to find an user by firstName and lastName -
i using instgarm java api find user using first , last name. in api have use first name , last name of user find
public userfeed searchuser(string query, int count) throws instagramexception { preconditions.checknotnull(query, "search query cannot null."); map<string, string> params = new hashmap<string, string>(); params.put(queryparam.search_query, query); if(count > 0) { params.put(queryparam.count, string.valueof(count)); } userfeed userfeed = createinstagramobject(verbs.get, userfeed.class, methods.users_search, params); return userfeed; }
in api have above method. how construct query find user based on first , last name. when pass name means returns lot of users want exact search using first , last name. 1 can me?
Comments
Post a Comment