added a twitter post function