-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Elevating React Web Development with Gatsby
If you've ever shared a website with a friend via Twitter, Slack, or any other instant messaging service, you probably saw a nice preview image, title, and description appear in a card to give the user insight into where you are sending them. This is achieved with meta tags.
We've already included a couple of these (title and description meta tags) within our search component, but here, we will implement two other common types – OpenGraph and Twitter metadata. We will then learn how to merge and validate these tags.
Open Graph is an internet protocol that was originally designed and created by Facebook with a single purpose – to unify and standardize metadata within web pages to get better representations of the content of the page. The protocol does this by adding specific meta tags to your site header. These tags provide details about the content of your site pages. This could include information as basic...