You need to set proper metadata
(e.g. <meta property="og:title" content="The Rock" />
) to make your web page appear rich object in social media such as Facebook.
Extracted from from ogp.me
The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
While, the meta name
can be different for different social media websites, for instance, Twitter has Cards for its tweets.
So you can use, Twitter Cards and Open Graph Protocol to leverage rich content preview.