@Override
	public void executeDemo(String text) {
		
		FacebookUtils.linkForRead(this, new SocializeAuthListener() {
			
			@Override
			public void onError(SocializeException error) {
				handleError(GetTokenActivity.this, error);
			}
			
			@Override
			public void onCancel() {
				handleCancel();
			}
			
			@Override
			public void onAuthSuccess(SocializeSession session) {
				UserProviderCredentials userProviderCredentials = session.getUserProviderCredentials(AuthProviderType.FACEBOOK);
				handleResult(userProviderCredentials.getAccessToken());
			}
			
			@Override
			public void onAuthFail(SocializeException error) {
				handleError(GetTokenActivity.this, error);
			}
		});
	}
@Override
	public void executeDemo(String text) {
		
		FacebookUtils.linkForRead(this, new SocializeAuthListener() {
			
			@Override
			public void onError(SocializeException error) {
				handleError(GetTokenActivity.this, error);
			}
			
			@Override
			public void onCancel() {
				handleCancel();
			}
			
			@Override
			public void onAuthSuccess(SocializeSession session) {
				UserProviderCredentials userProviderCredentials = session.getUserProviderCredentials(AuthProviderType.FACEBOOK);
				handleResult(userProviderCredentials.getAccessToken());
			}
			
			@Override
			public void onAuthFail(SocializeException error) {
				handleError(GetTokenActivity.this, error);
			}
		});
	}
@ Override public void executeDemo ( String text ) { FacebookUtils . linkForRead ( this , new SocializeAuthListener ( ) { @ Override public void onError ( SocializeException error ) { handleError ( GetTokenActivity . this , error ) ; } @ Override public void onCancel ( ) { handleCancel ( ) ; } @ Override public void onAuthSuccess ( SocializeSession session ) { UserProviderCredentials userProviderCredentials = session . getUserProviderCredentials ( AuthProviderType . FACEBOOK ) ; handleResult ( userProviderCredentials . getAccessToken ( ) ) ; } @ Override public void onAuthFail ( SocializeException error ) { handleError ( GetTokenActivity . this , error ) ; } } ) ; }
/* (non-Javadoc)
@see com.socialize.demo.DemoActivity#executeDemo()
/ * ( non - Javadoc )