Android Twitter fabric users/search.json -
i working on fabric twitter in android can able login twitter twitterloginbutton below
twitterloginbutton = (twitterloginbutton) view.findviewbyid(r.id.login_button); twitterloginbutton.setcallback(new callback<twittersession>() { @override public void success(result<twittersession> result) { // result, provides twittersession making api calls l.m(result.data.getauthtoken().tostring()); l.l("twittter auth : " + result.data.getauthtoken().tostring()); } @override public void failure(twitterexception exception) { // on failure } });
now need search users using below twitter api endpoint
https://api.twitter.com/1.1/users/search.json?q=%@&page=1&count=20
in ios can able twtrapiclient.urlrequest(withmethod: "get", url: url!, parameters: nil, error: &clienterror) method
but comming android can't see requesturl method in twitterapiclient
can please suggest me how this?
Comments
Post a Comment