@Override
	public void executeDemo(final String text) {
		
		if(!FacebookUtils.isLinkedForRead(this, FacebookFacade.READ_PERMISSIONS)) {
			FacebookUtils.linkForRead(this, new SocializeAuthListener() {
				
				@Override
				public void onError(SocializeException error) {
					handleError(PostToWallActivity.this, error);
				}
				
				@Override
				public void onCancel() {
					handleCancel();
				}
				
				@Override
				public void onAuthSuccess(SocializeSession session) {
					doPost(text);
				}
				
				@Override
				public void onAuthFail(SocializeException error) {
					handleError(PostToWallActivity.this, error);
				}
			}, FacebookFacade.READ_PERMISSIONS);
		}
		else {
			doPost(text);
		}
	}
@Override
	public void executeDemo(final String text) {
		
		if(!FacebookUtils.isLinkedForRead(this, FacebookFacade.READ_PERMISSIONS)) {
			FacebookUtils.linkForRead(this, new SocializeAuthListener() {
				
				@Override
				public void onError(SocializeException error) {
					handleError(PostToWallActivity.this, error);
				}
				
				@Override
				public void onCancel() {
					handleCancel();
				}
				
				@Override
				public void onAuthSuccess(SocializeSession session) {
					doPost(text);
				}
				
				@Override
				public void onAuthFail(SocializeException error) {
					handleError(PostToWallActivity.this, error);
				}
			}, FacebookFacade.READ_PERMISSIONS);
		}
		else {
			doPost(text);
		}
	}
@ Override public void executeDemo ( final String text ) { if ( ! FacebookUtils . isLinkedForRead ( this , FacebookFacade . READ_PERMISSIONS ) ) { FacebookUtils . linkForRead ( this , new SocializeAuthListener ( ) { @ Override public void onError ( SocializeException error ) { handleError ( PostToWallActivity . this , error ) ; } @ Override public void onCancel ( ) { handleCancel ( ) ; } @ Override public void onAuthSuccess ( SocializeSession session ) { doPost ( text ) ; } @ Override public void onAuthFail ( SocializeException error ) { handleError ( PostToWallActivity . this , error ) ; } } , FacebookFacade . READ_PERMISSIONS ) ; } else { doPost ( text ) ; } }
/* (non-Javadoc)
@see com.socialize.demo.DemoActivity#executeDemo()
/ * ( non - Javadoc )