XD surfaced during the time of texting and instant messaging. While used in rap, it is not very popular nowadays. It just has one meaning.
On the Internet and in text messages, XD is a substitute for lol. When looked at from an angle, XD appears to be the exaggerated face of a person laughing. It is just an expression of laughter or response to humor. It has become somewhat overused and outdated throughout recent years. To properly use it, follow our lead.
“XD! I should have attended that party to see all of it!”
“Jimmy Carr made my face stuck like XD.”