code: @Override
  	public void executeDemo(String text) {
  		
  		// We need additional permissions for this
  		String[] permissions = {"user_friends"};
  		
  		FacebookUtils.linkForRead(this, new SocializeAuthListener() {
  			
  			@Override
  			public void onError(SocializeException error) {
  				handleError(ListFriendsActivity.this, error);
  			}
  			
  			@Override
  			public void onCancel() {
  				handleCancel();
  			}
  			
  			@Override
  			public void onAuthSuccess(SocializeSession session) {
  				
  				FacebookUtils.get(ListFriendsActivity.this, "me/friends", null, new SocialNetworkPostListener() {
  					
  					@Override
  					public void onNetworkError(Activity context, SocialNetwork network, Exception error) {
  						handleError(context, error);
  					}
  					
  					@Override
  					public void onCancel() {
  						handleCancel();
  					}
  					
  					@Override
  					public void onAfterPost(Activity parent, SocialNetwork socialNetwork, JSONObject responseObject) {
  						
  						try {
  							JSONArray jsonArray = responseObject.getJSONArray("data");
  							
  							StringBuilder builder = new StringBuilder();
  							
  							int len = jsonArray.length();
  							
  							for (int i = 0; i < len; i++) {
  								JSONObject jsonObject = jsonArray.getJSONObject(i);
  								if(jsonObject.has("name")) {
  									if(i > 0) {
  										builder.append("\n");
  									}
  									builder.append(jsonObject.get("name"));
  								}
  							}
  							
  							handleResult(builder.toString());
  						}
  						catch (JSONException e) {
  							handleError(parent, e);
  						}
  					}
  				});
  			}
  			
  			@Override
  			public void onAuthFail(SocializeException error) {
  				handleError(ListFriendsActivity.this, error);
  			}
  		}, permissions);
  	}
docs: /* (non-Javadoc)
  @see com.socialize.demo.DemoActivity#executeDemo()