Check my sites social media meta4/4/2023 ![]() ![]() When a user shares a link to Facebook or Twitter (or any social media app that recognizes OpenGraph meta tags) there are 4 essential pieces of information you need to include. The Essential Meta Tags for Social Media Deciding What Information to Include I highly recommend you read this article before diving in here. You can read the technical details on the OpenGraph standard at the link.Ī very good simplified overview of the use of these meta tags is provided over at CSS Tricks. The idea is that as a content author, you should have control over the information that is used when one of your site users decides to “share” some content from your site. This standard is in wide use, most notably on Facebook and Twitter. This tutorial relies on the use of the OpenGraph standard for including metadata in a web page. If you don’t have this knowledge, you may make errors that will prevent this from working or even crash your site. ![]() Note: this tutorial assumes a basic understanding of HTML and php scripts. When that URL (which must resolve to a single Participants Database record) is shared, the social media site looks at the metadata at that URL and uses that information to construct the “share” post that will be seen in the social media feed. It is also important to understand that what your users will be sharing is the URL of the page they are viewing. The shared URL must display a single subject. This means that you can’t use this method to share individual listings out of a list display. In this article, I’ll explain how to set this up.įirst, this only works for single record display pages, because the meta tags are applied to the whole content of the page. This is fairly easy, what you need to do is make sure the correct meta tags are present in the page. For some sites using Participants Database, it is desirable to provide a “share” link to a single record display. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |