I checked out my code and discovered that i was outputting some data before the tags. This caused the facebook parser to mess up and as soon as i removed the html from outside those tags it worked fine.