@GET
	public Response facebookAuthorization(@QueryParam("code") String code) {
		if (code != null) {
			facebookManager.setAccessCode(code);
			return Response.ok(Response.Status.OK).build();
		} else {
			try {
				return Response.temporaryRedirect(
						new URI(facebookManager.getAuthorizationUrl())).build();
			} catch (URISyntaxException e) {
				throw new RuntimeException(e);
			}
		}
	}