Version Description
- Fixed: Personal Instagram App authentication issue
- Fixed: Minor issues
- Tested: upto v6.0
Download this release
Release Info
Developer | DaNish Ali |
Plugin | Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp |
Version | 6.3.7 |
Comparing to | |
See all releases |
Code changes from version 6.3.6 to 6.3.7
- README.txt +7 -2
- admin/class-esf-admin.php +0 -24
- easy-facebook-likebox.php +2 -2
- facebook/admin/assets/js/admin.js +5 -1
- facebook/admin/views/html-authenticate-tab.php +1 -1
- facebook/admin/views/html-how-to-use-tab.php +1 -0
- facebook/frontend/easy-facebook-likebox.php +1 -1
- instagram/admin/views/html-admin-page-mif.php +2 -2
- instagram/admin/views/html-autenticate-tab.php +1 -1
README.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: DaNish Ali, maltathemes, sjaved
|
3 |
Tags: Instagram feed, Instagram photos, Instagram gallery, Facebook feed, Facebook posts
|
4 |
Requires at least: 3.3
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 6.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -174,6 +174,11 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
|
|
174 |
23. Instagram skins/layouts panel
|
175 |
|
176 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
177 |
= 6.3.6 =
|
178 |
* Fixed: App authentication issue
|
179 |
* Removed: Easy Social Feed (B) app temporarily
|
2 |
Contributors: DaNish Ali, maltathemes, sjaved
|
3 |
Tags: Instagram feed, Instagram photos, Instagram gallery, Facebook feed, Facebook posts
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 6.0
|
6 |
+
Stable tag: 6.3.7
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
174 |
23. Instagram skins/layouts panel
|
175 |
|
176 |
== Changelog ==
|
177 |
+
= 6.3.7 =
|
178 |
+
* Fixed: Personal Instagram App authentication issue
|
179 |
+
* Fixed: Minor issues
|
180 |
+
* Tested: upto v6.0
|
181 |
+
|
182 |
= 6.3.6 =
|
183 |
* Fixed: App authentication issue
|
184 |
* Removed: Easy Social Feed (B) app temporarily
|
admin/class-esf-admin.php
CHANGED
@@ -350,31 +350,7 @@ if ( ! class_exists( 'ESF_Admin' ) ) {
|
|
350 |
});
|
351 |
</script>
|
352 |
<?php }
|
353 |
-
$screen = get_current_screen();
|
354 |
-
$arr = [
|
355 |
-
'easy-social-feed_page_mif',
|
356 |
-
'toplevel_page_feed-them-all',
|
357 |
-
'easy-social-feed_page_easy-facebook-likebox',
|
358 |
-
];
|
359 |
-
$insta_selected_type = '';
|
360 |
-
|
361 |
-
// Display notification if access token is not valid
|
362 |
-
$token_valid = $this->esf_access_token_valid();
|
363 |
-
if(isset( $fta_settings['plugins']['instagram']['selected_type'])){
|
364 |
-
$insta_selected_type = $fta_settings['plugins']['instagram']['selected_type'];
|
365 |
-
}
|
366 |
-
|
367 |
-
if ($insta_selected_type == 'personal'){
|
368 |
-
unset($arr[0]);
|
369 |
-
}
|
370 |
|
371 |
-
if(!$token_valid['is_valid'] && in_array( $screen->id, $arr)){ ?>
|
372 |
-
|
373 |
-
<div class="update-nag notice notice-warning fta_upgraded_msg"
|
374 |
-
style="border-color: #ed6d62;">
|
375 |
-
<p><?php esc_html_e( $token_valid['error_message'] ); ?></p>
|
376 |
-
</div>
|
377 |
-
<?php }
|
378 |
return false;
|
379 |
}
|
380 |
|
350 |
});
|
351 |
</script>
|
352 |
<?php }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
return false;
|
355 |
}
|
356 |
|
easy-facebook-likebox.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Easy Social Feed
|
5 |
* Plugin URI: https://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 display 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: 6.3.
|
8 |
* Author: Easy Social Feed
|
9 |
* Author URI: https://easysocialfeed.com/
|
10 |
* Text Domain: easy-facebook-likebox
|
@@ -98,7 +98,7 @@ if ( function_exists( 'efl_fs' ) ) {
|
|
98 |
if ( !class_exists( 'Feed_Them_All' ) ) {
|
99 |
class Feed_Them_All
|
100 |
{
|
101 |
-
public $version = '6.3.
|
102 |
public $fta_slug = 'easy-facebook-likebox' ;
|
103 |
public $plug_slug = 'easy-facebook-likebox' ;
|
104 |
function __construct()
|
4 |
* Plugin Name: Easy Social Feed
|
5 |
* Plugin URI: https://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 display 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: 6.3.7
|
8 |
* Author: Easy Social Feed
|
9 |
* Author URI: https://easysocialfeed.com/
|
10 |
* Text Domain: easy-facebook-likebox
|
98 |
if ( !class_exists( 'Feed_Them_All' ) ) {
|
99 |
class Feed_Them_All
|
100 |
{
|
101 |
+
public $version = '6.3.7' ;
|
102 |
public $fta_slug = 'easy-facebook-likebox' ;
|
103 |
public $plug_slug = 'easy-facebook-likebox' ;
|
104 |
function __construct()
|
facebook/admin/assets/js/admin.js
CHANGED
@@ -122,6 +122,10 @@ jQuery(document).ready(function($) {
|
|
122 |
}
|
123 |
});
|
124 |
|
|
|
|
|
|
|
|
|
125 |
/*
|
126 |
* Getting the form submitted value from shortcode generator.
|
127 |
*/
|
@@ -306,7 +310,7 @@ jQuery(document).ready(function($) {
|
|
306 |
efbl_page_id_attr = ' user_id="' + efbl_page_id + '"';
|
307 |
}
|
308 |
|
309 |
-
var efbl_feed_type = $('
|
310 |
|
311 |
if( efbl_feed_type === 'group' ){
|
312 |
var efbl_group_id = $('#efbl_group_id').val();
|
122 |
}
|
123 |
});
|
124 |
|
125 |
+
jQuery('select#efbl_feed_type').on('change', function() {
|
126 |
+
jQuery('.efbl_selected_type').val(this.value);
|
127 |
+
});
|
128 |
+
|
129 |
/*
|
130 |
* Getting the form submitted value from shortcode generator.
|
131 |
*/
|
310 |
efbl_page_id_attr = ' user_id="' + efbl_page_id + '"';
|
311 |
}
|
312 |
|
313 |
+
var efbl_feed_type = $('.efbl_selected_type').val();
|
314 |
|
315 |
if( efbl_feed_type === 'group' ){
|
316 |
var efbl_group_id = $('#efbl_group_id').val();
|
facebook/admin/views/html-authenticate-tab.php
CHANGED
@@ -170,7 +170,7 @@ $group_authenticate_url = add_query_arg( [
|
|
170 |
<input id="efbl_access_token" name="access_token" required type="text">
|
171 |
</div>
|
172 |
</div>
|
173 |
-
<input class="btn" type="submit">
|
174 |
</form>
|
175 |
</div>
|
176 |
<div class="row auth-row">
|
170 |
<input id="efbl_access_token" name="access_token" required type="text">
|
171 |
</div>
|
172 |
</div>
|
173 |
+
<input class="btn" value="<?php esc_html_e( "Submit", 'easy-facebook-likebox' ); ?>" type="submit">
|
174 |
</form>
|
175 |
</div>
|
176 |
<div class="row auth-row">
|
facebook/admin/views/html-how-to-use-tab.php
CHANGED
@@ -175,6 +175,7 @@ esc_html_e( "Page", 'easy-facebook-likebox' );
|
|
175 |
esc_html_e( "Group", 'easy-facebook-likebox' );
|
176 |
?></option>
|
177 |
</select>
|
|
|
178 |
</div>
|
179 |
<div class="input-field col s12 efbl_fields efbl-page-releated-field">
|
180 |
<label><?php
|
175 |
esc_html_e( "Group", 'easy-facebook-likebox' );
|
176 |
?></option>
|
177 |
</select>
|
178 |
+
<input type="hidden" class="efbl_selected_type" value="page">
|
179 |
</div>
|
180 |
<div class="input-field col s12 efbl_fields efbl-page-releated-field">
|
181 |
<label><?php
|
facebook/frontend/easy-facebook-likebox.php
CHANGED
@@ -30,7 +30,7 @@ class Easy_Facebook_Likebox
|
|
30 |
*
|
31 |
* @var string
|
32 |
*/
|
33 |
-
const VERSION = '6.3.
|
34 |
/**
|
35 |
*
|
36 |
* Unique identifier for your plugin.
|
30 |
*
|
31 |
* @var string
|
32 |
*/
|
33 |
+
const VERSION = '6.3.7' ;
|
34 |
/**
|
35 |
*
|
36 |
* Unique identifier for your plugin.
|
instagram/admin/views/html-admin-page-mif.php
CHANGED
@@ -41,13 +41,13 @@ $auth_url = esc_url( add_query_arg( [
|
|
41 |
'state' => admin_url( 'admin.php?page=mif' ),
|
42 |
], 'https://www.facebook.com/dialog/oauth' ) );
|
43 |
|
44 |
-
$mif_personal_clients = [ '
|
45 |
|
46 |
$mif_personal_app_ID = $mif_personal_clients[ array_rand( $mif_personal_clients, '1' ) ];
|
47 |
|
48 |
$personal_auth_url = esc_url( add_query_arg( [
|
49 |
'client_id' => $mif_personal_app_ID,
|
50 |
-
'redirect_uri' => 'https://easysocialfeed.com/
|
51 |
'scope' => 'user_profile,user_media',
|
52 |
'response_type' => 'code',
|
53 |
'state' => admin_url( 'admin.php?page=mif' ),
|
41 |
'state' => admin_url( 'admin.php?page=mif' ),
|
42 |
], 'https://www.facebook.com/dialog/oauth' ) );
|
43 |
|
44 |
+
$mif_personal_clients = [ '7990630550950691' ];
|
45 |
|
46 |
$mif_personal_app_ID = $mif_personal_clients[ array_rand( $mif_personal_clients, '1' ) ];
|
47 |
|
48 |
$personal_auth_url = esc_url( add_query_arg( [
|
49 |
'client_id' => $mif_personal_app_ID,
|
50 |
+
'redirect_uri' => 'https://easysocialfeed.com/apps/meta/basic/' . $mif_personal_app_ID . '/index.php',
|
51 |
'scope' => 'user_profile,user_media',
|
52 |
'response_type' => 'code',
|
53 |
'state' => admin_url( 'admin.php?page=mif' ),
|
instagram/admin/views/html-autenticate-tab.php
CHANGED
@@ -126,7 +126,7 @@ if ( ( isset( $_GET['access_token'] ) && ! empty( $_GET['access_token'] ) ) || (
|
|
126 |
<input id="mif_access_token" name="access_token" required type="text">
|
127 |
</div>
|
128 |
</div>
|
129 |
-
<input class="btn" type="submit">
|
130 |
</form>
|
131 |
</div>
|
132 |
<div class="row auth-row">
|
126 |
<input id="mif_access_token" name="access_token" required type="text">
|
127 |
</div>
|
128 |
</div>
|
129 |
+
<input class="btn" value="<?php esc_html_e( "Submit", 'easy-facebook-likebox' ); ?>" type="submit">
|
130 |
</form>
|
131 |
</div>
|
132 |
<div class="row auth-row">
|