added functionality to fix Facebook connection errors and use facebook text entered by the user to post