public String execute() throws Exception {
SASFHelper helper = SASFStaticHelper.getHelper(request);
SocialAuthManager manager = helper.getAuthManager();
AuthProvider provider = null;
if (manager != null) {
provider = manager.getCurrentAuthProvider();
}
if (provider != null) {
try {
provider.uploadImage(statusMessage, imageFileFileName,
new FileInputStream(imageFile));
request.setAttribute("Message", "Status Updated successfully");
return "success";
} catch (SocialAuthException e) {
request.setAttribute("Message", e.getMessage());