sdk/src/com/socialize/networks/facebook/BaseFacebookFacade.java
@Override
	public void authenticateWithActivity(Activity context, FacebookAuthProviderInfo info, boolean sso, final AuthProviderListener listener) {

		final String listenerKey = "auth";
		
		holder.push(listenerKey, new AuthProviderListener() {
			
			@Override
			public void onError(SocializeException error) {
				holder.remove(listenerKey);
				listener.onError(error);
			}
			
			@Override
			public void onAuthSuccess(AuthProviderResponse response) {
				holder.remove(listenerKey);
				listener.onAuthSuccess(response);
			}
			
			@Override
			public void onAuthFail(SocializeException error) {
				holder.remove(listenerKey);
				listener.onAuthFail(error);
			}

			@Override
			public void onCancel() {
				holder.remove(listenerKey);
				listener.onCancel();
			}
		});
		
		Intent i = new Intent(context, FacebookActivity.class);
		i.putExtra("appId", info.getAppId());
		i.putExtra("sso", sso);
		i.putExtra("type", info.getPermissionType().toString());
		
		switch(info.getPermissionType()) {
			case READ:
				if(info.getReadPermissions() != null) {
					i.putExtra("permissions", info.getReadPermissions());
				}
				break;
				
			case WRITE:
				if(info.getWritePermissions() != null) {
					i.putExtra("permissions", info.getWritePermissions());
				}
				break;
		}
		
		context.startActivity(i);	
	}
@Override
	public void authenticateWithActivity(Activity context, FacebookAuthProviderInfo info, boolean sso, final AuthProviderListener listener) {

		final String listenerKey = "auth";
		
		holder.push(listenerKey, new AuthProviderListener() {
			
			@Override
			public void onError(SocializeException error) {
				holder.remove(listenerKey);
				listener.onError(error);
			}
			
			@Override
			public void onAuthSuccess(AuthProviderResponse response) {
				holder.remove(listenerKey);
				listener.onAuthSuccess(response);
			}
			
			@Override
			public void onAuthFail(SocializeException error) {
				holder.remove(listenerKey);
				listener.onAuthFail(error);
			}

			@Override
			public void onCancel() {
				holder.remove(listenerKey);
				listener.onCancel();
			}
		});
		
		Intent i = new Intent(context, FacebookActivity.class);
		i.putExtra("appId", info.getAppId());
		i.putExtra("sso", sso);
		i.putExtra("type", info.getPermissionType().toString());
		
		switch(info.getPermissionType()) {
			case READ:
				if(info.getReadPermissions() != null) {
					i.putExtra("permissions", info.getReadPermissions());
				}
				break;
				
			case WRITE:
				if(info.getWritePermissions() != null) {
					i.putExtra("permissions", info.getWritePermissions());
				}
				break;
		}
		
		context.startActivity(i);	
	}
/*
(non-Javadoc)
@see com.socialize.networks.facebook.FacebookFacade#authenticate(android.app.Activity, com.socialize.auth.facebook.FacebookAuthProviderInfo, com.socialize.listener.AuthProviderListener)