{"id":195299,"date":"2011-10-16T08:00:00","date_gmt":"2011-10-16T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/wonderm00ns-simple-facebook-open-graph-tags\/"},"modified":"2025-03-13T15:58:00","modified_gmt":"2025-03-13T15:58:00","slug":"wonderm00ns-simple-facebook-open-graph-tags","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/wonderm00ns-simple-facebook-open-graph-tags\/","title":{"rendered":"Open Graph and Twitter Card Tags"},"content":{"rendered":"<p>This plugin improves the sharing of your WordPress pages, posts, WooCommerce products, or any other post type on social media, by setting the correct Facebook Open Graph Tags.<\/p>\n<p>It also allows you to add the Twitter Card tags for more effective and efficient Twitter sharing results, as well as the Meta Description and Canonical tags if no other SEO plugin is setting them.<\/p>\n<p><strong>This plugin is not, in any way, affiliated or endorsed by Facebook, Twitter, Google or any other 3rd party.<\/strong><\/p>\n<p>You can also choose to insert the \u201cenclosure\u201d and \u201cmedia:content\u201d tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.<\/p>\n<p>It allows the user to choose which tags are included, and also the default image if the post\/page doesn\u2019t have one.<\/p>\n<p>It\u2019s also possible to add an overlay logo\/watermark to the image. The plugin will resize and crop the original image to 1200\u00d7630 and then overlay the chosen 1200\u00d7630 PNG file over it.<br \/>\nIt be usefull to add your brand to the image that shows up on Facebook shared links.<\/p>\n<p>Our settings page is discreetly kept under \u201cOptions\u201d.<\/p>\n<h4>The generated (Facebook) Open Graph Tags are:<\/h4>\n<ul>\n<li><strong>og:title<\/strong>: From post\/page\/archive\/tag\/\u2026 title.<\/li>\n<li><strong>og:site_name<\/strong>: From blog title.<\/li>\n<li><strong>og:url<\/strong>: From the post\/page permalink.<\/li>\n<li><strong>og:description<\/strong>: From our specific custom field of the post\/page, or if not set post\/page excerpt if it exist, or from post\/page content. From category\/tag description on its pages, if it exist. From tagline, or custom text, on all the others.<\/li>\n<li><strong>og:image<\/strong>: From our specific custom field of the post\/page, or if not set from the post\/page featured\/thumbnail image, or if it doesn\u2019t exist from the first image in the post content, or if it doesn\u2019t exist from the first image on the post media gallery, or if it doesn\u2019t exist from the default image defined on the options menu. The same image chosen here will be used and enclosure\/media:content on the RSS feed.<\/li>\n<li><strong>og:image:url<\/strong>: Same as <strong>og:image<\/strong>.<\/li>\n<li><strong>og:image:secure_url<\/strong>: Same as <strong>og:image<\/strong> if SSL is being used.<\/li>\n<li><strong>og:image:width<\/strong> and <strong>og:image:height<\/strong>: Image dimensions.<\/li>\n<li><strong>og:type<\/strong>: \u201cwebsite\u201d or \u201cblog\u201d for the homepage, \u201cproduct\u201d for WooCommerce products and \u201carticle\u201d for all the others.<\/li>\n<li><strong>article:author<\/strong>: From the user (post author) Faceboook Profile URL.<\/li>\n<li><strong>article:published_time<\/strong>: Article published time (for posts only)<\/li>\n<li><strong>article:modified_time<\/strong> and <strong>og:updated_time<\/strong>: Article modified time (for posts only)<\/li>\n<li><strong>article:section<\/strong>: From post categories.<\/li>\n<li><strong>article:publisher<\/strong>: The website Facebook Page URL.<\/li>\n<li><strong>og:locale<\/strong>: From WordPress locale or chosen by the user.<\/li>\n<li><strong>fb:admins<\/strong>: From settings on the options screen.<\/li>\n<li><strong>fb:app_id<\/strong>: From settings on the options screen.<\/li>\n<li><strong>og:price:amount<\/strong> and <strong>og:price:currency<\/strong>: Price on WooCommerce products.<\/li>\n<\/ul>\n<h4>The generated Twitter Card Tags are:<\/h4>\n<ul>\n<li><strong>twitter:title<\/strong>: Same as <code>og:title<\/code>.<\/li>\n<li><strong>twitter:url<\/strong>: Sames as <code>og:url<\/code>.<\/li>\n<li><strong>twitter:description<\/strong>: Same as <code>og:description<\/code>.<\/li>\n<li><strong>twitter:image<\/strong>: Same as <code>og:image<\/code>.<\/li>\n<li><strong>twitter:creator<\/strong>: From the user (post author) Twitter account.<\/li>\n<li><strong>twitter:site<\/strong>: The website Twitter account.<\/li>\n<li><strong>twitter:card<\/strong>: With value \u201csummary_large_image\u201d or \u201csummary\u201d.<\/li>\n<\/ul>\n<h4>Other Tags:<\/h4>\n<ul>\n<li><strong>canonical<\/strong>: Same as <code>og:url<\/code>.<\/li>\n<li><strong>meta description<\/strong>: Same as <code>og:description<\/code>.<\/li>\n<li><strong>meta author<\/strong>: From the user (post author) Display Name.<\/li>\n<li><strong>meta publisher<\/strong>: From the website title.<\/li>\n<li><strong>enclosure<\/strong>: On RSS feeds, same as <code>og:image<\/code>.<\/li>\n<li><strong>media:content<\/strong>: On RSS feeds, same as <code>og:image<\/code>.<\/li>\n<\/ul>\n<h4>3rd Party Integration:<\/h4>\n<ul>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/wordpress-seo\/\" rel=\"ugc\">Yoast SEO<\/a><\/strong>: Allows you to use the title, URL (canonical), and description from the Yoast SEO plugin.<\/li>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" rel=\"ugc\">WooCommerce<\/a><\/strong>: On product pages sets <code>og:type<\/code> to \u201cproduct\u201d and adds the price including tax to the <code>product:price<\/code> and <code>product:availability<\/code> tags. Also allows you to use the Product Category thumbnails as Open Graph Image and have Product Gallery images as additional Open Graph Images<\/li>\n<li><strong><a href=\"https:\/\/woocommerce.com\/products\/brands\/\" rel=\"nofollow ugc\">WooCommerce Brands<\/a><\/strong>: On brand pages uses the brand image as Open Graph Image <\/li>\n<li><strong><a href=\"https:\/\/wordpress.org\/extend\/plugins\/business-directory-plugin\/\" rel=\"ugc\">Business Directory Plugin<\/a><\/strong> (deprecated): Allows you to use BDP listing contents as Open Graph Tags.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Improve social media sharing by inserting Facebook Open Graph, Twitter Card, and SEO Meta Tags on your WordPress website pages, posts, WooCommerce pro \u2026<\/p>\n","protected":false},"author":65,"featured_media":372488,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Open Graph and Twitter Card Tags - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Improve social media sharing by inserting Facebook Open Graph, Twitter Card, and SEO Meta Tags on your WordPress website pages, posts, WooCommerce pro \u2026"},"footnotes":""},"categories":[1],"tags":[176,4709,14039,241,19647],"class_list":["post-195299","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-facebook","tag-open-graph","tag-open-graph-protocol","tag-social-media","tag-twitter-card"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/195299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=195299"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/195299\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/372488"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=195299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=195299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=195299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}