Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp - Version 5.3.0

Version Description

  • Fixed: No posts available for this ID issue
  • Removed: Deprecated not required nodes
Download this release

Release Info

Developer DaNish Ali
Plugin Icon 128x128 Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp
Version 5.3.0
Comparing to
See all releases

Code changes from version 5.2.9 to 5.3.0

README.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: maltathemes, sjaved, freemius
3
  Tags: instagram feed, instagram, facebook feed, PopUp, page plugin
4
  Requires at least: 3.3
5
- Tested up to: 5.4.2
6
- Stable tag: 5.2.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -20,7 +20,7 @@ DEMOS:
20
  - [Custom Facebook Feed Pro](https://easysocialfeed.com/custom-facebook-feed/)
21
  - [Custom Instagram Feed Pro](https://easysocialfeed.com/my-instagram-feed-demo/)
22
 
23
- >"Great plugin and phenomenal supportThis plugin has a variety of options. My question to support was answered in MINUTES. And, my question was answered and then some!"* – [owens1994](https://wordpress.org/support/topic/great-plugin-and-phenomenal-support/)
24
 
25
  ### Custom Instagram Feed plugin for WordPress:
26
 
@@ -29,7 +29,6 @@ Display your stunning photos and videos from your Instagram account on your site
29
  ### FEATURES OF INSTAGRAM FEED PLUGIN:
30
 
31
  - **One minute** setup. Easy setup flow to configure and go live in minutes.
32
- - **[Hashtag](https://easysocialfeed.com/my-instagram-feed-demo/hashtag/) (new - pro)**. Display photos from Instagram using any hashtag.
33
  - **Fully customizable**. Customize the layout and look & feel using the WP Customizer in **real-time**. Yes, no more guessing!
34
  - Change **number of columns**, colors and borders.
35
  - Create **multiple skins**. Handy when you need to display the feed on the page as well as in the footer or sidebar, differently.
@@ -55,7 +54,7 @@ Display your stunning photos and videos from your Instagram account on your site
55
 
56
  [Easy Custom Instagram Demo](https://easysocialfeed.com/my-instagram-feed-demo)
57
 
58
- >"Much better than the others –I’m really happy with this – and it’s better than the other plugins I’ve tried that offer the same thing. Thank you!"* – [sarahtaylor777](https://wordpress.org/support/topic/much-better-than-the-others-2/)
59
 
60
  ### Custom Facebook Feed for WordPress:
61
 
@@ -94,9 +93,6 @@ Display a customizable (completely match the look and feel with your site), mobi
94
 
95
  [Easy Custom Facebook Feed Demo](https://easysocialfeed.com/custom-facebook-feed/)
96
 
97
- >"Easy to use as the description – awesome plugin and excellent support, easy to set up and more function, won’t affect the page speed, GREAT JOB!"* – [alexwee88](https://wordpress.org/support/topic/easy-to-use-as-the-description/)
98
-
99
-
100
  ### Facebook Page plugin for WordPress:
101
 
102
  Displays a Facebook Page Plugin (previously Facebook Like Box). The Facebook Page Plugin is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website. Easy facebook like box display fan page posts, like button, and connections on your website using widget, shortcode or in Auto PopUp.
@@ -193,6 +189,10 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
193
  18. Instagram skins panel.
194
 
195
  == Changelog ==
 
 
 
 
196
  = 5.2.9 =
197
  * Fixed: Dashboard tabs and popups conflict
198
  * Fixed: Minor issues
@@ -402,4 +402,6 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
402
 
403
  = 1.0.0 =
404
 
405
- * Initial release.
 
 
2
  Contributors: maltathemes, sjaved, freemius
3
  Tags: instagram feed, instagram, facebook feed, PopUp, page plugin
4
  Requires at least: 3.3
5
+ Tested up to: 5.5
6
+ Stable tag: 5.3.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
20
  - [Custom Facebook Feed Pro](https://easysocialfeed.com/custom-facebook-feed/)
21
  - [Custom Instagram Feed Pro](https://easysocialfeed.com/my-instagram-feed-demo/)
22
 
23
+ *"Easy to use as the description awesome plugin and excellent support, easy to set up and more function, won’t affect the page speed, GREAT JOB!"* – [alexwee88](https://wordpress.org/support/topic/easy-to-use-as-the-description/)
24
 
25
  ### Custom Instagram Feed plugin for WordPress:
26
 
29
  ### FEATURES OF INSTAGRAM FEED PLUGIN:
30
 
31
  - **One minute** setup. Easy setup flow to configure and go live in minutes.
 
32
  - **Fully customizable**. Customize the layout and look & feel using the WP Customizer in **real-time**. Yes, no more guessing!
33
  - Change **number of columns**, colors and borders.
34
  - Create **multiple skins**. Handy when you need to display the feed on the page as well as in the footer or sidebar, differently.
54
 
55
  [Easy Custom Instagram Demo](https://easysocialfeed.com/my-instagram-feed-demo)
56
 
57
+ *"Much better than the others –I’m really happy with this – and it’s better than the other plugins I’ve tried that offer the same thing. Thank you!"* – [sarahtaylor777](https://wordpress.org/support/topic/much-better-than-the-others-2/)
58
 
59
  ### Custom Facebook Feed for WordPress:
60
 
93
 
94
  [Easy Custom Facebook Feed Demo](https://easysocialfeed.com/custom-facebook-feed/)
95
 
 
 
 
96
  ### Facebook Page plugin for WordPress:
97
 
98
  Displays a Facebook Page Plugin (previously Facebook Like Box). The Facebook Page Plugin is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website. Easy facebook like box display fan page posts, like button, and connections on your website using widget, shortcode or in Auto PopUp.
189
  18. Instagram skins panel.
190
 
191
  == Changelog ==
192
+ = 5.3.0 =
193
+ * Fixed: No posts available for this ID issue
194
+ * Removed: Deprecated not required nodes
195
+
196
  = 5.2.9 =
197
  * Fixed: Dashboard tabs and popups conflict
198
  * Fixed: Minor issues
402
 
403
  = 1.0.0 =
404
 
405
+ * Initial release.
406
+
407
+ == Upgrade Notice ==
easy-facebook-likebox.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Easy Social Feed
5
  * Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally it also now allows you to dipslay the customized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
7
- * Version: 5.2.9
8
  * Author: Danish Ali Malik
9
  * Author URI: https://maltathemes.com/danish-ali-malik
10
  * Text Domain: easy-facebook-likebox,
@@ -93,7 +93,7 @@ if ( function_exists( 'efl_fs' ) ) {
93
  /*
94
  * $version defines the version of the plugin.
95
  */
96
- public $version = '5.2.9' ;
97
  public $fta_slug = 'easy-facebook-likebox' ;
98
  public $plug_slug = 'easy-facebook-likebox' ;
99
  /*
4
  * Plugin Name: Easy Social Feed
5
  * Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally it also now allows you to dipslay the customized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
7
+ * Version: 5.3.0
8
  * Author: Danish Ali Malik
9
  * Author URI: https://maltathemes.com/danish-ali-malik
10
  * Text Domain: easy-facebook-likebox,
93
  /*
94
  * $version defines the version of the plugin.
95
  */
96
+ public $version = '5.3.0' ;
97
  public $fta_slug = 'easy-facebook-likebox' ;
98
  public $plug_slug = 'easy-facebook-likebox' ;
99
  /*
easy-facebook-likebox/public/easy-facebook-likebox.php CHANGED
@@ -33,7 +33,7 @@ class Easy_Facebook_Likebox
33
  *
34
  * @var string
35
  */
36
- const VERSION = '5.2.9' ;
37
  /**
38
  * @TODO - Rename "plugin-name" to the name your your plugin
39
  *
33
  *
34
  * @var string
35
  */
36
+ const VERSION = '5.3.0' ;
37
  /**
38
  * @TODO - Rename "plugin-name" to the name your your plugin
39
  *
easy-facebook-likebox/public/views/feed.php CHANGED
@@ -168,15 +168,12 @@ if ( efl_fs()->is_free_plan() && !array_key_exists( $page_id, $approved_pages )
168
  $own_access_token = $approved_pages[$page_id]['access_token'];
169
  }
170
 
171
- $jws_api_url = 'https://graph.facebook.com/v4.0/' . $page_id . '/?fields=posts.limit(' . $post_limit . '){status_type,full_picture,permalink_url,likes{pic_crop,id,name},comments.limit(30){id,like_count,permalink_url,comments,reactions,comment_count,created_time,message,message_tags,attachment},reactions{id,name,pic_crop,type,link},created_time,story,message,reactions.type(LIKE).limit(0).summary(1).as(like),reactions.type(LOVE).limit(0).summary(1).as(love),reactions.type(HAHA).limit(0).summary(1).as(haha),reactions.type(WOW).limit(0).summary(1).as(wow),reactions.type(SAD).limit(0).summary(1).as(sad),reactions.type(ANGRY).limit(0).summary(1).as(angry),from,message_tags,shares,story_tags,picture,attachments,via,to,dynamic_posts},about,picture{url}&access_token=' . $own_access_token . '&locale=en_us';
172
  if ( isset( $accesstoken ) && !empty($accesstoken) ) {
173
  $own_access_token = $accesstoken;
174
  }
175
 
176
  if ( !$posts_json || '' == $posts_json || $test_mode ) {
177
- //build query
178
- $jws_api_url = 'https://graph.facebook.com/' . $page_id . '/' . $query . '?access_token=' . $access_token . '&limit=' . $post_limit . '&locale=en_us';
179
- $jws_api_url = 'https://graph.facebook.com/v4.0/' . $page_id . '/?fields=posts.limit(' . $post_limit . '){status_type,full_picture,permalink_url,likes{pic_crop,id,name},comments.limit(30){id,like_count,permalink_url,comments,reactions,comment_count,created_time,message,message_tags,attachment},reactions{id,name,pic_crop,type,link},created_time,story,message,reactions.type(LIKE).limit(0).summary(1).as(like),reactions.type(LOVE).limit(0).summary(1).as(love),reactions.type(HAHA).limit(0).summary(1).as(haha),reactions.type(WOW).limit(0).summary(1).as(wow),reactions.type(SAD).limit(0).summary(1).as(sad),reactions.type(ANGRY).limit(0).summary(1).as(angry),from,message_tags,shares,story_tags,picture,attachments,via,to,dynamic_posts},about,picture{url}&access_token=' . $own_access_token . '&locale=en_us';
180
  // echo $jws_api_url;exit;
181
  //set json data
182
  $posts_json = jws_fetchUrl( $jws_api_url );
@@ -449,17 +446,9 @@ if ( !$json_decoded->error ) {
449
  echo $returner ;
450
  } else {
451
  $error_msg = $json_decoded->error->message;
452
- if ( empty($fbData) ) {
453
  $error_msg = __( 'No posts available for this ID', 'easy-facebook-likebox' );
454
  }
455
- // switch (variable) {
456
- // case 'value':
457
- // # code...
458
- // break;
459
- // default:
460
- // # code...
461
- // break;
462
- // }
463
 
464
  if ( $fbData->error->code == 10 ) {
465
  $error_msg = __( 'Please authenticate your Facebook pages from Easy Social Feed settings page and use page id of approved pages only', 'easy-facebook-likebox' );
168
  $own_access_token = $approved_pages[$page_id]['access_token'];
169
  }
170
 
 
171
  if ( isset( $accesstoken ) && !empty($accesstoken) ) {
172
  $own_access_token = $accesstoken;
173
  }
174
 
175
  if ( !$posts_json || '' == $posts_json || $test_mode ) {
176
+ $jws_api_url = 'https://graph.facebook.com/v4.0/' . $page_id . '/?fields=posts.limit(' . $post_limit . '){place,status_type,full_picture,permalink_url,likes{pic_crop,id,name},comments.limit(30){id,like_count,permalink_url,comments,reactions,comment_count,created_time,message,message_tags,attachment},reactions{id,name,pic_crop,type,link},created_time,story,message,reactions.type(LIKE).limit(0).summary(1).as(like),reactions.type(LOVE).limit(0).summary(1).as(love),reactions.type(HAHA).limit(0).summary(1).as(haha),reactions.type(WOW).limit(0).summary(1).as(wow),reactions.type(SAD).limit(0).summary(1).as(sad),reactions.type(ANGRY).limit(0).summary(1).as(angry),from,message_tags,shares,story_tags,picture,attachments},about,picture{url}&access_token=' . $own_access_token . '&locale=en_us';
 
 
177
  // echo $jws_api_url;exit;
178
  //set json data
179
  $posts_json = jws_fetchUrl( $jws_api_url );
446
  echo $returner ;
447
  } else {
448
  $error_msg = $json_decoded->error->message;
449
+ if ( empty($fbData) && !$error_msg ) {
450
  $error_msg = __( 'No posts available for this ID', 'easy-facebook-likebox' );
451
  }
 
 
 
 
 
 
 
 
452
 
453
  if ( $fbData->error->code == 10 ) {
454
  $error_msg = __( 'Please authenticate your Facebook pages from Easy Social Feed settings page and use page id of approved pages only', 'easy-facebook-likebox' );