validating and being able to post to facebook and twitter

validating and being able to post to facebook and twitter