java - group list facebook sdk on android not working -
im trying users group list.
before ask how extract information "response" code:
permissions:
this.login = (loginbutton)findviewbyid(r.id.login_button); login.setreadpermissions(arrays.aslist("user_groups", "friends_groups"));
request:
request share = request.newgraphpathrequest(session, "/me/groups", new request.callback() { @override public void oncompleted(response response) { graphobject go = response.getgraphobject(); log.d("getting groups", go.tostring()); } });
first of few issues: 1. log.d line not showing. meaning app dosent call back.
is code ok?
how handle response, meaning how extract information?
thank !
Comments
Post a Comment