android - Filter newGraphPathRequest "me/friends by name -



android - Filter newGraphPathRequest "me/friends by name -

is there way filter graph result facebook ( me/friends ) name?

i add together simple search function in android app user can search though friends , show result. think no way fetch finish list of friends , filter later.

this short snipped how utilize @ moment

private request createrequest(session session) { request request = request.newgraphpathrequest(session, "me/friends", null); set<string> fields = new hashset<string>(); string[] requiredfields = new string[] { "id", "username","name", "picture" }; fields.addall(arrays.aslist(requiredfields)); bundle parameters = request.getparameters(); parameters.putstring("fields", textutils.join(",", fields)); if(!searchactive) { parameters.putstring("limit", limit); parameters.putstring("offset", offset); } request.setparameters(parameters); homecoming request; }

android facebook facebook-graph-api graph

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -