Open Graph for Facebook, Google+ and Twitter Card Tags - Version 2.3.0

Version Description

  • Option to disable image overlay on the default image
  • New argument to the fb_og_image_overlay with queried object information
  • When outputting the composed image with overlay in JPG the quality is now 100 instead of 95 and the fb_og_overlayed_image_format_jpg_quality is available to change it
  • Compatibility with Yoast SEO 14
Download this release

Release Info

Developer webdados
Plugin Icon Open Graph for Facebook, Google+ and Twitter Card Tags
Version 2.3.0
Comparing to
See all releases

Code changes from version 2.2.8 to 2.3.0

admin/options-page-general.php CHANGED
@@ -217,6 +217,19 @@ global $webdados_fb;
217
  - <?php _e( 'By default, the original image will be resized and cropped to fill the entire canvas, but you can also choose to shrink and center it over a white background', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
218
  </td>
219
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  <?php } else { ?>
221
  <tr>
222
  <td colspan="2" class="info">
217
  - <?php _e( 'By default, the original image will be resized and cropped to fill the entire canvas, but you can also choose to shrink and center it over a white background', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
218
  </td>
219
  </tr>
220
+
221
+ <tr class="fb_image_overlay_options">
222
+ <th><?php _e( 'No overlay for default', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</th>
223
+ <td>
224
+ <input type="checkbox" name="wonderm00n_open_graph_settings[fb_image_overlay_not_for_default]" id="fb_image_overlay_not_for_default" value="1" <?php echo (intval($options['fb_image_overlay_not_for_default'])==1 ? ' checked="checked"' : '' ); ?>/>
225
+ </td>
226
+ </tr>
227
+ <tr class="fb_image_overlay_options">
228
+ <td colspan="2" class="info">
229
+ - <?php _e( 'Do not apply the overlay image to the default image set above', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
230
+ </td>
231
+ </tr>
232
+
233
  <?php } else { ?>
234
  <tr>
235
  <td colspan="2" class="info">
fbimg.php CHANGED
@@ -114,7 +114,7 @@
114
  case 'jpg':
115
  default:
116
  header('Content-Type: image/jpeg');
117
- imagejpeg($thumb, NULL, 95);
118
  break;
119
  }
120
  imagedestroy($image);
114
  case 'jpg':
115
  default:
116
  header('Content-Type: image/jpeg');
117
+ imagejpeg( $thumb, NULL, apply_filters( 'fb_og_overlayed_image_format_jpg_quality', 100 ) );
118
  break;
119
  }
120
  imagedestroy($image);
includes/class-webdados-fb-open-graph.php CHANGED
@@ -158,6 +158,7 @@ class Webdados_FB {
158
  'fb_wc_useproductgallery' => 'intval',
159
  'fb_wc_usepg_png_overlay' => 'intval',
160
  'fb_image_overlay' => 'intval',
 
161
  'fb_image_overlay_image' => 'trim',
162
  'fb_image_overlay_original_behavior' => 'trim',
163
  'fb_publisher_show_meta' => 'intval',
158
  'fb_wc_useproductgallery' => 'intval',
159
  'fb_wc_usepg_png_overlay' => 'intval',
160
  'fb_image_overlay' => 'intval',
161
+ 'fb_image_overlay_not_for_default' => 'intval',
162
  'fb_image_overlay_image' => 'trim',
163
  'fb_image_overlay_original_behavior' => 'trim',
164
  'fb_publisher_show_meta' => 'intval',
lang/wonderm00ns-simple-facebook-open-graph-tags.pot CHANGED
@@ -4,7 +4,7 @@ msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
6
  "2.0.3\n"
7
- "POT-Creation-Date: 2020-04-28 11:38+0100\n"
8
  "PO-Revision-Date: 2016-09-26 14:52+0100\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
@@ -706,99 +706,107 @@ msgid ""
706
  "background"
707
  msgstr ""
708
 
709
- #: admin/options-page-general.php:223
 
 
 
 
 
 
 
 
710
  #, php-format
711
  msgid ""
712
  "You need the <a href=\"%s\" target=\"_blank\">PHP GD library</a> to use this "
713
  "feature. Please ask your hosting company to enable it."
714
  msgstr ""
715
 
716
- #: admin/options-page-general.php:229
717
  msgid "Add image to RSS/RSS2 feeds"
718
  msgstr ""
719
 
720
- #: admin/options-page-general.php:236
721
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
722
  msgstr ""
723
 
724
- #: admin/options-page-general.php:241
725
  msgid "Force getimagesize on local file"
726
  msgstr ""
727
 
728
- #: admin/options-page-general.php:248 admin/options-page-general.php:264
729
  msgid ""
730
  "This is an advanced option: Don't mess with this unless you know what you're "
731
  "doing"
732
  msgstr ""
733
 
734
- #: admin/options-page-general.php:250
735
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
736
  msgstr ""
737
 
738
- #: admin/options-page-general.php:252
739
  msgid ""
740
  "May cause problems with some multisite configurations but fixes \"HTTP "
741
  "request failed\" errors"
742
  msgstr ""
743
 
744
- #: admin/options-page-general.php:257
745
  msgid "Do not get image size"
746
  msgstr ""
747
 
748
- #: admin/options-page-general.php:266
749
  msgid ""
750
  "You should only activate this option if you're getting fatal errors (white "
751
  "screen of death) and only keep it active if this options does solve those "
752
  "errors"
753
  msgstr ""
754
 
755
- #: admin/options-page-general.php:268
756
  msgid "Should not be needed on version 2.2 and above"
757
  msgstr ""
758
 
759
- #: admin/options-page-general.php:270
760
  msgid ""
761
  "This can render the \"Add image to RSS/RSS2 feeds\" and \"Open Graph - "
762
  "Include Image Dimensions\" options useless"
763
  msgstr ""
764
 
765
- #: admin/options-page-general.php:281
766
  msgid "URL settings"
767
  msgstr ""
768
 
769
- #: admin/options-page-general.php:287
770
  msgid "Add trailing slash at the end"
771
  msgstr ""
772
 
773
- #: admin/options-page-general.php:294
774
  msgid "If missing, a trailing slash will be added at the end"
775
  msgstr ""
776
 
777
- #: admin/options-page-general.php:296
778
  msgid "Homepage example:"
779
  msgstr ""
780
 
781
- #: admin/options-page-general.php:305
782
  msgid "Author settings"
783
  msgstr ""
784
 
785
- #: admin/options-page-general.php:311
786
  msgid "Hide Author on Pages"
787
  msgstr ""
788
 
789
- #: admin/options-page-general.php:318
790
  msgid "Hides all Author tags on Pages"
791
  msgstr ""
792
 
793
- #: admin/options-page-general.php:327
794
  msgid "Other settings"
795
  msgstr ""
796
 
797
- #: admin/options-page-general.php:333
798
  msgid "Keep data on uninstall"
799
  msgstr ""
800
 
801
- #: admin/options-page-general.php:340
802
  msgid ""
803
  "Keep the plugin settings on the database even if the plugin is uninstalled"
804
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
6
  "2.0.3\n"
7
+ "POT-Creation-Date: 2020-05-01 08:15+0100\n"
8
  "PO-Revision-Date: 2016-09-26 14:52+0100\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
706
  "background"
707
  msgstr ""
708
 
709
+ #: admin/options-page-general.php:222
710
+ msgid "No overlay for default"
711
+ msgstr ""
712
+
713
+ #: admin/options-page-general.php:229
714
+ msgid "Do not apply the overlay image to the default image set above"
715
+ msgstr ""
716
+
717
+ #: admin/options-page-general.php:236
718
  #, php-format
719
  msgid ""
720
  "You need the <a href=\"%s\" target=\"_blank\">PHP GD library</a> to use this "
721
  "feature. Please ask your hosting company to enable it."
722
  msgstr ""
723
 
724
+ #: admin/options-page-general.php:242
725
  msgid "Add image to RSS/RSS2 feeds"
726
  msgstr ""
727
 
728
+ #: admin/options-page-general.php:249
729
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
730
  msgstr ""
731
 
732
+ #: admin/options-page-general.php:254
733
  msgid "Force getimagesize on local file"
734
  msgstr ""
735
 
736
+ #: admin/options-page-general.php:261 admin/options-page-general.php:277
737
  msgid ""
738
  "This is an advanced option: Don't mess with this unless you know what you're "
739
  "doing"
740
  msgstr ""
741
 
742
+ #: admin/options-page-general.php:263
743
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
744
  msgstr ""
745
 
746
+ #: admin/options-page-general.php:265
747
  msgid ""
748
  "May cause problems with some multisite configurations but fixes \"HTTP "
749
  "request failed\" errors"
750
  msgstr ""
751
 
752
+ #: admin/options-page-general.php:270
753
  msgid "Do not get image size"
754
  msgstr ""
755
 
756
+ #: admin/options-page-general.php:279
757
  msgid ""
758
  "You should only activate this option if you're getting fatal errors (white "
759
  "screen of death) and only keep it active if this options does solve those "
760
  "errors"
761
  msgstr ""
762
 
763
+ #: admin/options-page-general.php:281
764
  msgid "Should not be needed on version 2.2 and above"
765
  msgstr ""
766
 
767
+ #: admin/options-page-general.php:283
768
  msgid ""
769
  "This can render the \"Add image to RSS/RSS2 feeds\" and \"Open Graph - "
770
  "Include Image Dimensions\" options useless"
771
  msgstr ""
772
 
773
+ #: admin/options-page-general.php:294
774
  msgid "URL settings"
775
  msgstr ""
776
 
777
+ #: admin/options-page-general.php:300
778
  msgid "Add trailing slash at the end"
779
  msgstr ""
780
 
781
+ #: admin/options-page-general.php:307
782
  msgid "If missing, a trailing slash will be added at the end"
783
  msgstr ""
784
 
785
+ #: admin/options-page-general.php:309
786
  msgid "Homepage example:"
787
  msgstr ""
788
 
789
+ #: admin/options-page-general.php:318
790
  msgid "Author settings"
791
  msgstr ""
792
 
793
+ #: admin/options-page-general.php:324
794
  msgid "Hide Author on Pages"
795
  msgstr ""
796
 
797
+ #: admin/options-page-general.php:331
798
  msgid "Hides all Author tags on Pages"
799
  msgstr ""
800
 
801
+ #: admin/options-page-general.php:340
802
  msgid "Other settings"
803
  msgstr ""
804
 
805
+ #: admin/options-page-general.php:346
806
  msgid "Keep data on uninstall"
807
  msgstr ""
808
 
809
+ #: admin/options-page-general.php:353
810
  msgid ""
811
  "Keep the plugin settings on the database even if the plugin is uninstalled"
812
  msgstr ""
public/class-webdados-fb-open-graph-public.php CHANGED
@@ -423,9 +423,35 @@ class Webdados_FB_Public {
423
  if ( $this->options['fb_show_wpseoyoast']==1 ) {
424
  if ( $webdados_fb->is_yoast_seo_active() ) {
425
  $debug[] = 'yoast_seo';
426
- $wpseo = WPSEO_Frontend::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
427
  //Title
428
- $fb_title_temp = $wpseo->title(false);
429
  $fb_title = wp_strip_all_tags( trim($fb_title_temp)!='' ? trim($fb_title_temp) : $fb_title, true);
430
  //Title - SubHeading plugin
431
  if ( $fb_title_temp!='' && $this->options['fb_show_subheading']==1 ) {
@@ -438,10 +464,8 @@ class Webdados_FB_Public {
438
  }
439
  }
440
  //URL
441
- $fb_url_temp = $wpseo->canonical(false);
442
  $fb_url = wp_strip_all_tags( trim($fb_url_temp)!='' ? trim($fb_url_temp) : $fb_url, true);
443
  //Description
444
- $fb_desc_temp = $wpseo->metadesc(false);
445
  $fb_desc = wp_strip_all_tags( trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc, true);
446
  }
447
  }
@@ -534,23 +558,61 @@ class Webdados_FB_Public {
534
  $this->options['fb_image_show'] = 0;
535
  }
536
 
537
- //Image overlay - Single?
538
- if ( intval($this->options['fb_image_show'])==1 && intval($this->options['fb_image_overlay'])==1 && apply_filters('fb_og_image_overlay', true, $fb_image) ) {
539
- $post_id = $this->post ? $this->post->ID : 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
540
  $debug[] = 'image overlay';
541
- //Single
542
- $temp_fb_image_overlay = $this->get_image_with_overlay( $fb_image, $post_id );
 
543
  if ( $temp_fb_image_overlay['overlay'] ) {
544
  $fb_image = $temp_fb_image_overlay['fb_image'];
545
  //We know the exact size now. We better just show it, right?
546
  $this->options['fb_image_size_show'] = 1;
547
- $fb_image_size = array(WEBDADOS_FB_W, WEBDADOS_FB_H);
548
  }
549
  //Additional
550
  if ( isset($fb_image_additional) && is_array($fb_image_additional) && count($fb_image_additional)>0 ) {
551
  foreach($fb_image_additional as $key => $value ) {
552
  if ( isset($value['png_overlay']) && $value['png_overlay'] ) {
553
- $temp_fb_image_overlay = $this->get_image_with_overlay( $value['fb_image'], $post_id );
554
  if ( $temp_fb_image_overlay['overlay'] ) {
555
  $fb_image_additional[$key]['fb_image'] = $temp_fb_image_overlay['fb_image'];
556
  }
@@ -939,35 +1001,12 @@ class Webdados_FB_Public {
939
 
940
 
941
  /* Image with overlay URL */
942
- private function get_image_with_overlay( $fb_image, $post_id = 0 ) {
943
- $fb_image_parsed = parse_url($fb_image);
944
  //Only if the image is hosted locally
945
- if ( $fb_image_parsed['host']==$_SERVER['HTTP_HOST'] ) {
946
  //Params
947
- $params = array(
948
- 'img' => urlencode($fb_image),
949
- 'post_id' => intval( $post_id ), //Legacy, kill it with fire, PLEASE!
950
- );
951
- //Object queried
952
- $object = get_queried_object();
953
- switch( get_class( $object ) ) {
954
- case 'WP_Post':
955
- $params['object_type'] = 'post';
956
- $params['object_id'] = $object->ID;
957
- break;
958
- case 'WP_Post_Type':
959
- $params['object_type'] = 'post_type';
960
- $params['object_id'] = $object->name;
961
- break;
962
- case 'WP_Term':
963
- $params['object_type'] = 'term';
964
- $params['taxonomy'] = $object->taxonomy;
965
- $params['object_id'] = $object->term_id;
966
- break;
967
- //author?
968
- //Home?
969
- //etc...
970
- }
971
  $fb_image = plugins_url( '/wonderm00ns-simple-facebook-open-graph-tags/fbimg.php' ).'?'.http_build_query($params);
972
  return array(
973
  'overlay' => true,
423
  if ( $this->options['fb_show_wpseoyoast']==1 ) {
424
  if ( $webdados_fb->is_yoast_seo_active() ) {
425
  $debug[] = 'yoast_seo';
426
+ if ( version_compare( WPSEO_VERSION, '14.0', '>=' ) ) {
427
+ // https://developer.yoast.com/blog/yoast-seo-14-0-using-yoast-seo-surfaces/
428
+ $fb_title_temp = YoastSEO()->meta->for_current_page()->title;
429
+ $fb_url_temp = YoastSEO()->meta->for_current_page()->canonical;
430
+ $fb_desc_temp = YoastSEO()->meta->for_current_page()->description;
431
+ //If we don't get it, we try the old way
432
+ if (
433
+ (
434
+ trim( $fb_title_temp ) == ''
435
+ ||
436
+ trim( $fb_url_temp ) == ''
437
+ ||
438
+ trim( $fb_desc_temp ) == ''
439
+ )
440
+ &&
441
+ class_exists( 'WPSEO_Frontend' )
442
+ ) {
443
+ $wpseo = WPSEO_Frontend::get_instance();
444
+ if ( trim( $fb_title_temp ) == '' ) $fb_title_temp = @$wpseo->title( false );
445
+ if ( trim( $fb_url_temp ) == '' ) $fb_url_temp = @$wpseo->canonical( false );
446
+ if ( trim( $fb_desc_temp ) == '' ) $fb_desc_temp = @$wpseo->metadesc( false );
447
+ }
448
+ } else {
449
+ $wpseo = WPSEO_Frontend::get_instance();
450
+ $fb_title_temp = $wpseo->title( false );
451
+ $fb_url_temp = $wpseo->canonical( false );
452
+ $fb_desc_temp = $wpseo->metadesc( false );
453
+ }
454
  //Title
 
455
  $fb_title = wp_strip_all_tags( trim($fb_title_temp)!='' ? trim($fb_title_temp) : $fb_title, true);
456
  //Title - SubHeading plugin
457
  if ( $fb_title_temp!='' && $this->options['fb_show_subheading']==1 ) {
464
  }
465
  }
466
  //URL
 
467
  $fb_url = wp_strip_all_tags( trim($fb_url_temp)!='' ? trim($fb_url_temp) : $fb_url, true);
468
  //Description
 
469
  $fb_desc = wp_strip_all_tags( trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc, true);
470
  }
471
  }
558
  $this->options['fb_image_show'] = 0;
559
  }
560
 
561
+ //Image overlay
562
+ //Object queried
563
+ $img_overlay_params = array(
564
+ 'is_home' => is_home(),
565
+ 'is_front_page' => is_front_page()
566
+ );
567
+ $object = get_queried_object();
568
+ switch( get_class( $object ) ) {
569
+ case 'WP_Post':
570
+ $img_overlay_params['object_type'] = 'post';
571
+ $img_overlay_params['object_id'] = $object->ID;
572
+ break;
573
+ case 'WP_Post_Type':
574
+ $img_overlay_params['object_type'] = 'post_type';
575
+ $img_overlay_params['object_id'] = $object->name;
576
+ break;
577
+ case 'WP_Term':
578
+ $img_overlay_params['object_type'] = 'term';
579
+ $img_overlay_params['taxonomy'] = $object->taxonomy;
580
+ $img_overlay_params['object_id'] = $object->term_id;
581
+ break;
582
+ //author?
583
+ //Home?
584
+ //etc...
585
+ }
586
+ //Should we do it?
587
+ if (
588
+ ( intval( $this->options['fb_image_show'] ) == 1 )
589
+ &&
590
+ ( intval( $this->options['fb_image_overlay'] ) == 1 )
591
+ &&
592
+ ( ! (
593
+ ( intval( $this->options['fb_image_overlay_not_for_default'] ) == 1 )
594
+ &&
595
+ ( trim( $fb_image ) == trim( $this->options['fb_image_overlay_image'] ) )
596
+ )
597
+ )
598
+ &&
599
+ apply_filters( 'fb_og_image_overlay', true, $fb_image, $img_overlay_params )
600
+ ) {
601
  $debug[] = 'image overlay';
602
+
603
+ //The main one
604
+ $temp_fb_image_overlay = $this->get_image_with_overlay( $fb_image, $img_overlay_params, false );
605
  if ( $temp_fb_image_overlay['overlay'] ) {
606
  $fb_image = $temp_fb_image_overlay['fb_image'];
607
  //We know the exact size now. We better just show it, right?
608
  $this->options['fb_image_size_show'] = 1;
609
+ $fb_image_size = array( WEBDADOS_FB_W, WEBDADOS_FB_H );
610
  }
611
  //Additional
612
  if ( isset($fb_image_additional) && is_array($fb_image_additional) && count($fb_image_additional)>0 ) {
613
  foreach($fb_image_additional as $key => $value ) {
614
  if ( isset($value['png_overlay']) && $value['png_overlay'] ) {
615
+ $temp_fb_image_overlay = $this->get_image_with_overlay( $value['fb_image'], $img_overlay_params, true );
616
  if ( $temp_fb_image_overlay['overlay'] ) {
617
  $fb_image_additional[$key]['fb_image'] = $temp_fb_image_overlay['fb_image'];
618
  }
1001
 
1002
 
1003
  /* Image with overlay URL */
1004
+ private function get_image_with_overlay( $fb_image, $params, $additional = false ) {
1005
+ $fb_image_parsed = parse_url( $fb_image );
1006
  //Only if the image is hosted locally
1007
+ if ( $fb_image_parsed['host'] == $_SERVER['HTTP_HOST'] ) {
1008
  //Params
1009
+ $params['img'] = urlencode( $fb_image );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1010
  $fb_image = plugins_url( '/wonderm00ns-simple-facebook-open-graph-tags/fbimg.php' ).'?'.http_build_query($params);
1011
  return array(
1012
  'overlay' => true,
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/donate_fb_opengraph
4
  Tags: facebook, open graph, twitter card, social media, open graph protocol, share, social, meta, rss, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7, webdados
5
  Requires at least: 4.5
6
  Tested up to: 5.5
7
- Stable tag: 2.2.8
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
@@ -170,6 +170,12 @@ We DO NOT provide email support for this plugin. If you send us an email asking
170
 
171
  == Changelog ==
172
 
 
 
 
 
 
 
173
  = 2.2.8 =
174
  * New feature to shrink and center the original image when overlay is used
175
  * Google+ / Schema feature deprecation
4
  Tags: facebook, open graph, twitter card, social media, open graph protocol, share, social, meta, rss, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7, webdados
5
  Requires at least: 4.5
6
  Tested up to: 5.5
7
+ Stable tag: 2.3.0
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
170
 
171
  == Changelog ==
172
 
173
+ = 2.3.0 =
174
+ * Option to disable image overlay on the default image
175
+ * New argument to the `fb_og_image_overlay` with queried object information
176
+ * When outputting the composed image with overlay in JPG the quality is now 100 instead of 95 and the `fb_og_overlayed_image_format_jpg_quality` is available to change it
177
+ * Compatibility with Yoast SEO 14
178
+
179
  = 2.2.8 =
180
  * New feature to shrink and center the original image when overlay is used
181
  * Google+ / Schema feature deprecation
wonderm00n-open-graph.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Open Graph and Twitter Card Tags
4
  Plugin URI: https://www.webdados.pt/wordpress/plugins/facebook-open-graph-meta-tags-wordpress/
5
  Description: Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
6
- Version: 2.2.8
7
  Author: Webdados
8
  Author URI: https://www.webdados.pt
9
  Text Domain: wonderm00ns-simple-facebook-open-graph-tags
@@ -13,7 +13,7 @@ WC tested up to: 4.1.0
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
 
16
- define( 'WEBDADOS_FB_VERSION', '2.2.8' );
17
  define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph and Twitter Card Tags' );
18
  define( 'WEBDADOS_FB_W', 1200 );
19
  define( 'WEBDADOS_FB_H', 630 );
3
  Plugin Name: Open Graph and Twitter Card Tags
4
  Plugin URI: https://www.webdados.pt/wordpress/plugins/facebook-open-graph-meta-tags-wordpress/
5
  Description: Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
6
+ Version: 2.3.0
7
  Author: Webdados
8
  Author URI: https://www.webdados.pt
9
  Text Domain: wonderm00ns-simple-facebook-open-graph-tags
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
 
16
+ define( 'WEBDADOS_FB_VERSION', '2.3.0' );
17
  define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph and Twitter Card Tags' );
18
  define( 'WEBDADOS_FB_W', 1200 );
19
  define( 'WEBDADOS_FB_H', 630 );