new GraphRequest( AccessToken.getCurrentAccessToken(), "/" + userId + "/photos", null, HttpMethod.GET, new GraphRequest.Callback() { public void onCompleted(GraphResponse response) { json = response.getJSONObject(); try { jarray = json.getJSONArray("data"); } catch (JSONException e) { e.printStackTrace(); } for(int i = 0; i < jarray.length(); i++){ try { URL1 = json.getString("url"); info.setText(URL1.toString()); Log.d("got URLSSSs", URL1.toString()); } catch (JSONException e) { e.printStackTrace(); } } } } ).executeAsync();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)