Version Description
- Fixed: No posts available for this ID error
Download this release
Release Info
Developer | DaNish Ali |
Plugin | Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp |
Version | 5.2.7 |
Comparing to | |
See all releases |
Code changes from version 5.2.6 to 5.2.7
README.txt
CHANGED
@@ -3,7 +3,7 @@ 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.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -189,8 +189,8 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
|
|
189 |
18. Instagram skins panel.
|
190 |
|
191 |
== Changelog ==
|
192 |
-
= 5.2.
|
193 |
-
* Fixed:
|
194 |
|
195 |
= 5.2.5 =
|
196 |
* Added: Ability to display posts from personal Instagram account
|
@@ -392,5 +392,5 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
|
|
392 |
* Initial release.
|
393 |
|
394 |
== Upgrade Notice ==
|
395 |
-
= 5.2.
|
396 |
-
|
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.7
|
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.7 =
|
193 |
+
* Fixed: No posts available for this ID error
|
194 |
|
195 |
= 5.2.5 =
|
196 |
* Added: Ability to display posts from personal Instagram account
|
392 |
* Initial release.
|
393 |
|
394 |
== Upgrade Notice ==
|
395 |
+
= 5.2.7 =
|
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.
|
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.
|
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.7
|
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.7' ;
|
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.
|
37 |
/**
|
38 |
* @TODO - Rename "plugin-name" to the name your your plugin
|
39 |
*
|
33 |
*
|
34 |
* @var string
|
35 |
*/
|
36 |
+
const VERSION = '5.2.7' ;
|
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,
|
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,
|
180 |
// echo $jws_api_url;exit;
|
181 |
//set json data
|
182 |
$posts_json = jws_fetchUrl( $jws_api_url );
|
@@ -206,6 +206,7 @@ if ( is_customize_preview() ) {
|
|
206 |
}
|
207 |
|
208 |
// plan end
|
|
|
209 |
|
210 |
if ( !$json_decoded->error ) {
|
211 |
// unset($fbData['0']);
|
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 |
}
|
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 );
|
206 |
}
|
207 |
|
208 |
// plan end
|
209 |
+
// echo "<pre>"; print_r($videos_json_decoded);exit();
|
210 |
|
211 |
if ( !$json_decoded->error ) {
|
212 |
// unset($fbData['0']);
|