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

Version Description

  • Fixed: Error: No posts available for this ID
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.2.6
Comparing to
See all releases

Code changes from version 5.2.5 to 5.2.6

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.3
6
- Stable tag: 5.2.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -189,6 +189,9 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
189
  18. Instagram skins panel.
190
 
191
  == Changelog ==
 
 
 
192
  = 5.2.5 =
193
  * Added: Ability to display posts from personal Instagram account
194
  * Fixed: Miscellaneous UI issues
@@ -389,6 +392,5 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
389
  * Initial release.
390
 
391
  == Upgrade Notice ==
392
- = 5.2.5 =
393
- * Added: Ability to display posts from personal Instagram account
394
- * Fixed: Miscellaneous UI issues
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
6
+ Stable tag: 5.2.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
189
  18. Instagram skins panel.
190
 
191
  == Changelog ==
192
+ = 5.2.6 =
193
+ * Fixed: Error: No posts available for this ID
194
+
195
  = 5.2.5 =
196
  * Added: Ability to display posts from personal Instagram account
197
  * Fixed: Miscellaneous UI issues
392
  * Initial release.
393
 
394
  == Upgrade Notice ==
395
+ = 5.2.6 =
396
+ * Fixed: No posts available for this ID error.
 
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.5
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.4' ;
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.2.6
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.2.6' ;
97
  public $fta_slug = 'easy-facebook-likebox' ;
98
  public $plug_slug = 'easy-facebook-likebox' ;
99
  /*
easy-facebook-likebox/admin/easy-facebook-likebox-admin.php CHANGED
@@ -601,6 +601,9 @@ if ( !class_exists( 'Easy_Facebook_Likebox_Admin' ) ) {
601
  $auth_img_src = set_transient( $page_logo_trasneint_name, $auth_img_src, 180 * 60 * 60 * 24 );
602
  }
603
 
 
 
 
604
  $efbl_all_pages_html .= sprintf(
605
  '<li class="collection-item avatar li-' . $efbl_page['id'] . '">
606
  <a href="https://web.facebook.com/' . $efbl_page['id'] . '" target="_blank">
601
  $auth_img_src = set_transient( $page_logo_trasneint_name, $auth_img_src, 180 * 60 * 60 * 24 );
602
  }
603
 
604
+ if ( isset( $auth_img_src->error ) && !empty($auth_img_src->error) ) {
605
+ $auth_img_src = null;
606
+ }
607
  $efbl_all_pages_html .= sprintf(
608
  '<li class="collection-item avatar li-' . $efbl_page['id'] . '">
609
  <a href="https://web.facebook.com/' . $efbl_page['id'] . '" target="_blank">
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.4' ;
37
  /**
38
  * @TODO - Rename "plugin-name" to the name your your plugin
39
  *
33
  *
34
  * @var string
35
  */
36
+ const VERSION = '5.2.6' ;
37
  /**
38
  * @TODO - Rename "plugin-name" to the name your your plugin
39
  *
easy-facebook-likebox/public/views/feed.php CHANGED
@@ -168,7 +168,7 @@ 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,likes.limit(10),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,with_tags,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
  }
@@ -176,7 +176,7 @@ if ( isset( $accesstoken ) && !empty($accesstoken) ) {
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,likes.limit(10),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,with_tags,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 );
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,likes.limit(10),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
  }
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,likes.limit(10),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 );