{"id":31702,"date":"2014-09-15T08:27:20","date_gmt":"2014-09-15T08:27:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ogp-generator\/"},"modified":"2015-12-10T01:33:59","modified_gmt":"2015-12-10T01:33:59","slug":"ogp-generator","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/ogp-generator\/","author":5697464,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5.3","stable_tag":"0.5.3","tested":"4.4.34","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"OGP Generator","header_author":"Shinichi Nishikawa","header_description":"","assets_banners_color":"8ea0d3","last_updated":"2015-12-10 01:33:59","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/th-daily.shinichi.me","header_author_uri":"http:\/\/th-daily.shinichi.me","rating":0,"author_block_rating":0,"active_installs":70,"downloads":3561,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"0.2":"<ul>\n<li>Assets done.<\/li>\n<\/ul>","0.5":"<ul>\n<li>Filter added to the description.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"989963","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"989963","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"990037","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.3.1","0.4","0.5","0.5.1","0.5.2","0.5.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"989963","resolution":"1","location":"assets"}},"screenshots":{"1":"You can set default image of the og:image, and put your app_id or fb:admins id."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[157,26918,46909],"plugin_category":[],"plugin_contributors":[86527],"plugin_business_model":[],"class_list":["post-31702","plugin","type-plugin","status-publish","hentry","plugin_tags-facebook","plugin_tags-ogp","plugin_tags-open-graph-tag","plugin_contributors-shinichin","plugin_committers-shinichin"],"banners":{"banner":"https:\/\/ps.w.org\/ogp-generator\/assets\/banner-772x250.png?rev=990037","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ogp-generator\/assets\/icon-128x128.png?rev=989963","icon_2x":"https:\/\/ps.w.org\/ogp-generator\/assets\/icon-256x256.png?rev=989963","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/ogp-generator\/assets\/screenshot-1.png?rev=989963","caption":"You can set default image of the og:image, and put your app_id or fb:admins id."}],"raw_content":"<!--section=description-->\n<p>When shared on Facebook, this plugin shows a nice Thumbnail of your posts, pages and site.<\/p>\n\n<h3>Example of Open Graph Protocol tags<\/h3>\n\n<pre><code>&lt;meta property=\"fb:app_id\"      content=\"you can specify in admin\" \/&gt;\n&lt;meta property=\"og:title\"       content=\"Post Title\" \/&gt;\n&lt;meta property=\"og:type\"        content=\"article\" \/&gt;\n&lt;meta property=\"og:url\"         content=\"Post URL\" \/&gt;\n&lt;meta property=\"og:image\"       content=\"Post thumbnail, attached image, the first image or default image which you upload\" \/&gt;\n&lt;meta property=\"og:site_name\"   content=\"Site Title\" \/&gt;\n&lt;meta property=\"og:locale\"      content=\"Your Locale\" \/&gt;\n&lt;meta property=\"og:description\" content=\"Post excerpt or text generated from your content\" \/&gt;\n<\/code><\/pre>\n\n<h3>Rules of the og:image<\/h3>\n\n<h4>When a post permalink is shared (is_singular).<\/h4>\n\n<ol>\n<li>If your post has a post-thumbnail, that will show up.<\/li>\n<li>If not, this plugin shows the images attatched to the post.<\/li>\n<li>If not, this plugin shows the images which is in the content.<\/li>\n<li>If not, this plugin shows the default image, which you upload in Settings &gt; Reading &gt; OGP Settings.<\/li>\n<li>If not, this plugin doesn't show anything. (Other ogp tags such as og:title, og:url and so on will be served.)<\/li>\n<\/ol>\n\n<h4>When the link posted on facebook was not a post link (!is_singular).<\/h4>\n\n<p>When home page, archive pages, search result page or what ever else pages are shared on facebook, og:image will be the image you specify in Settings &gt; Reading &gt; OGP Settings.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>nskw-ogp-generator<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to Settings &gt; Reading &gt; OGP Settings to set image and ID.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"When shared on Facebook, this plugin shows a nice Thumbnail of your posts, pages and site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31702"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shinichin"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31702"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31702"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31702"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31702"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31702"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}