demo/src/com/socialize/demo/implementations/facebook/GetEmailActivity.java
private void getFaceBookUserEmailetc() {
		String graphPath = "/me";
		// Execute a GET on facebook
		// The "this" argument refers to the current Activity
		FacebookUtils.get(this, graphPath, null, new SocialNetworkPostListener() {
			@Override
			public void onCancel() {
				Toast.makeText(GetEmailActivity.this, "Facebook get cancelled", Toast.LENGTH_SHORT).show();
			}

			@Override
			public void onNetworkError(Activity context, SocialNetwork network, Exception error) {
				handleError(GetEmailActivity.this, error);
			}

			@Override
			public void onAfterPost(Activity parent, SocialNetwork socialNetwork, JSONObject responseObject) {
				if(responseObject.has("email") && !responseObject.isNull("email")) {
					try {
						handleResult(responseObject.getString("email"));
					}
					catch (JSONException e) {
						handleError(GetEmailActivity.this, e);
					}
				}
				else {
					handleResult("Unable to retrieve email address!\n\n" + responseObject.toString());
				}
			}
		});
	}
private void getFaceBookUserEmailetc() {
		String graphPath = "/me";
		// Execute a GET on facebook
		// The "this" argument refers to the current Activity
		FacebookUtils.get(this, graphPath, null, new SocialNetworkPostListener() {
			@Override
			public void onCancel() {
				Toast.makeText(GetEmailActivity.this, "Facebook get cancelled", Toast.LENGTH_SHORT).show();
			}

			@Override
			public void onNetworkError(Activity context, SocialNetwork network, Exception error) {
				handleError(GetEmailActivity.this, error);
			}

			@Override
			public void onAfterPost(Activity parent, SocialNetwork socialNetwork, JSONObject responseObject) {
				if(responseObject.has("email") && !responseObject.isNull("email")) {
					try {
						handleResult(responseObject.getString("email"));
					}
					catch (JSONException e) {
						handleError(GetEmailActivity.this, e);
					}
				}
				else {
					handleResult("Unable to retrieve email address!\n\n" + responseObject.toString());
				}
			}
		});
	}
private void getFaceBookUserEmailetc ( ) { String graphPath = "/me" ; // Execute a GET on facebook // The "this" argument refers to the current Activity FacebookUtils . get ( this , graphPath , null , new SocialNetworkPostListener ( ) { @ Override public void onCancel ( ) { Toast . makeText ( GetEmailActivity . this , "Facebook get cancelled" , Toast . LENGTH_SHORT ) . show ( ) ; } @ Override public void onNetworkError ( Activity context , SocialNetwork network , Exception error ) { handleError ( GetEmailActivity . this , error ) ; } @ Override public void onAfterPost ( Activity parent , SocialNetwork socialNetwork , JSONObject responseObject ) { if ( responseObject . has ( "email" ) && ! responseObject . isNull ( "email" ) ) { try { handleResult ( responseObject . getString ( "email" ) ) ; } catch ( JSONException e ) { handleError ( GetEmailActivity . this , e ) ; } } else { handleResult ( "Unable to retrieve email address!\n\n" + responseObject . toString ( ) ) ; } } } ) ; }
######################################################################
######################################################################