// internal helpers
private void postToWall(Connection<Facebook> connection, Account account, WebRequest request) {
if (request.getAttribute(POST_TO_WALL_ATTRIBUTE, WebRequest.SCOPE_SESSION) != null) {
connection.getApi().feedOperations().postLink("Join me at the Greenhouse!", new FacebookLink(account.getProfileUrl(), "Greenhouse", "Where Spring developers hang out.",
"We help you connect with fellow application developers and take advantage of everything the Spring community has to offer."));
request.removeAttribute(POST_TO_WALL_ATTRIBUTE, WebRequest.SCOPE_SESSION);
}
}