Version Description
Download this release
Release Info
Developer | slickremix |
Plugin | Feed Them Social – Facebook, Instagram, Twitter, YouTube, Pinterest |
Version | 2.8.3.2 |
Comparing to | |
See all releases |
Code changes from version 2.8.3.1 to 2.8.3.2
- admin/class-fts-instagram-options-page.php +1 -1
- admin/class-fts-settings-page.php +1 -0
- feed-them.php +5 -5
- feeds/instagram/class-fts-instagram-feed.php +18 -16
- readme.txt +7 -4
admin/class-fts-instagram-options-page.php
CHANGED
@@ -360,7 +360,7 @@ class FTS_Instagram_Options_Page {
|
|
360 |
<h3>
|
361 |
<?php esc_html_e( 'Follow Button Options', 'feed-them-social' ); ?>
|
362 |
</h3>
|
363 |
-
<?php esc_html_e( 'This will only show on regular feeds not combined feeds.', 'feed-them-social' ); ?>
|
364 |
</div>
|
365 |
<div class="feed-them-social-admin-input-label fts-instagram-text-color-label">
|
366 |
<?php esc_html_e( 'Show Follow Button', 'feed-them-social' ); ?>
|
360 |
<h3>
|
361 |
<?php esc_html_e( 'Follow Button Options', 'feed-them-social' ); ?>
|
362 |
</h3>
|
363 |
+
<?php esc_html_e( 'This will only show on regular feeds not combined or hashtag feeds.', 'feed-them-social' ); ?>
|
364 |
</div>
|
365 |
<div class="feed-them-social-admin-input-label fts-instagram-text-color-label">
|
366 |
<?php esc_html_e( 'Show Follow Button', 'feed-them-social' ); ?>
|
admin/class-fts-settings-page.php
CHANGED
@@ -1025,6 +1025,7 @@ class FTS_Settings_Page {
|
|
1025 |
else if (jQuery('#instagram-messages-selector').val() == 'business') {
|
1026 |
|
1027 |
jQuery(".instagram_hashtag, .instagram_hashtag_type").hide();
|
|
|
1028 |
|
1029 |
}
|
1030 |
else {
|
1025 |
else if (jQuery('#instagram-messages-selector').val() == 'business') {
|
1026 |
|
1027 |
jQuery(".instagram_hashtag, .instagram_hashtag_type").hide();
|
1028 |
+
jQuery(".main-instagram-profile-options-wrap").show();
|
1029 |
|
1030 |
}
|
1031 |
else {
|
feed-them.php
CHANGED
@@ -7,18 +7,18 @@
|
|
7 |
* Plugin Name: Feed Them Social - for Twitter feed, Youtube, Pinterest and more
|
8 |
* Plugin URI: https://feedthemsocial.com/
|
9 |
* Description: Display a Custom Facebook feed, Instagram feed, Twitter feed, Pinterest feed & YouTube feed on pages, posts or widgets.
|
10 |
-
* Version: 2.8.3.
|
11 |
* Author: SlickRemix
|
12 |
* Author URI: https://www.slickremix.com/
|
13 |
* Text Domain: feed-them-social
|
14 |
* Domain Path: /languages
|
15 |
* Requires at least: WordPress 4.0.0
|
16 |
-
* Tested up to: WordPress 5.
|
17 |
-
* Stable tag: 2.8.3.
|
18 |
* License: GPLv2 or later
|
19 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
20 |
*
|
21 |
-
* @version 2.8.3.
|
22 |
* @package FeedThemSocial/Core
|
23 |
* @copyright Copyright (c) 2012-2020 SlickRemix
|
24 |
*
|
@@ -31,7 +31,7 @@
|
|
31 |
*
|
32 |
* Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
|
33 |
*/
|
34 |
-
define( 'FTS_CURRENT_VERSION', '2.8.3.
|
35 |
|
36 |
define( 'FEED_THEM_SOCIAL_NOTICE_STATUS', get_option( 'rating_fts_slick_notice', false ) );
|
37 |
|
7 |
* Plugin Name: Feed Them Social - for Twitter feed, Youtube, Pinterest and more
|
8 |
* Plugin URI: https://feedthemsocial.com/
|
9 |
* Description: Display a Custom Facebook feed, Instagram feed, Twitter feed, Pinterest feed & YouTube feed on pages, posts or widgets.
|
10 |
+
* Version: 2.8.3.2
|
11 |
* Author: SlickRemix
|
12 |
* Author URI: https://www.slickremix.com/
|
13 |
* Text Domain: feed-them-social
|
14 |
* Domain Path: /languages
|
15 |
* Requires at least: WordPress 4.0.0
|
16 |
+
* Tested up to: WordPress 5.4.0
|
17 |
+
* Stable tag: 2.8.3.2
|
18 |
* License: GPLv2 or later
|
19 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
20 |
*
|
21 |
+
* @version 2.8.3.2
|
22 |
* @package FeedThemSocial/Core
|
23 |
* @copyright Copyright (c) 2012-2020 SlickRemix
|
24 |
*
|
31 |
*
|
32 |
* Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
|
33 |
*/
|
34 |
+
define( 'FTS_CURRENT_VERSION', '2.8.3.2' );
|
35 |
|
36 |
define( 'FEED_THEM_SOCIAL_NOTICE_STATUS', get_option( 'rating_fts_slick_notice', false ) );
|
37 |
|
feeds/instagram/class-fts-instagram-feed.php
CHANGED
@@ -485,9 +485,9 @@ class FTS_Instagram_Feed extends feed_them_social_functions {
|
|
485 |
$insta_data = (object) array_merge( (array) $instagram_business, (array) $instagram_business_output );
|
486 |
|
487 |
// echo 'rrrrrrrrrrrr';
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
|
492 |
if ( ! isset( $_GET['load_more_ajaxing'] ) ) {
|
493 |
$this->fts_create_feed_cache( $business_cache, $insta_data );
|
@@ -565,9 +565,9 @@ class FTS_Instagram_Feed extends feed_them_social_functions {
|
|
565 |
}
|
566 |
}
|
567 |
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
// $instagram_data_array['user_info'] = 'https://graph.instagram.com/me?fields=id,username,media_count,account_type&access_token=' . $fts_instagram_access_token_final;
|
572 |
}
|
573 |
|
@@ -605,7 +605,7 @@ class FTS_Instagram_Feed extends feed_them_social_functions {
|
|
605 |
if ( current_user_can( 'administrator' ) ) {
|
606 |
|
607 |
if ( 'user' === $type || !isset( $type ) ) {
|
608 |
-
$error = esc_html( 'The Legacy API is depreciated as of March 31st, 2020 in favor of the new Instagram Graph API and the Instagram Basic Display API. Please go to the
|
609 |
} elseif ( isset( $error_check->error_message ) ) {
|
610 |
$error = $error_check->error_message;
|
611 |
} elseif ( isset( $error_check->meta->error_message ) ) {
|
@@ -644,6 +644,9 @@ class FTS_Instagram_Feed extends feed_them_social_functions {
|
|
644 |
$website = $instagram_user_info->website;
|
645 |
|
646 |
}
|
|
|
|
|
|
|
647 |
|
648 |
if ( current_user_can( 'administrator' ) && 'true' === $debug_userinfo ) {
|
649 |
echo 'aSDasdasDasdaSDa<pre>';
|
@@ -672,7 +675,7 @@ class FTS_Instagram_Feed extends feed_them_social_functions {
|
|
672 |
<?php
|
673 |
}
|
674 |
|
675 |
-
if ( isset( $profile_name ) && 'yes' === $profile_name ) {
|
676 |
?>
|
677 |
<div class="fts-profile-name-wrap">
|
678 |
|
@@ -688,7 +691,7 @@ if ( isset( $profile_name ) && 'yes' === $profile_name ) {
|
|
688 |
<?php
|
689 |
}
|
690 |
// $profile stats comes from the shortcode
|
691 |
-
if ( 'yes' === $profile_stats ) {
|
692 |
// These need to be in this order to keep the different counts straight since I used either $instagram_likes or $instagram_comments throughout.
|
693 |
$number_posted_pics_fb_api = isset( $instagram_user_info->media_count ) ? $instagram_user_info->media_count : '';
|
694 |
$number_posted_pics = isset( $instagram_user_info->data->counts->media ) ? $instagram_user_info->data->counts->media : $number_posted_pics_fb_api;
|
@@ -746,8 +749,7 @@ if ( 'yes' === $profile_stats ) {
|
|
746 |
</div>
|
747 |
<?php
|
748 |
}
|
749 |
-
|
750 |
-
if ( 'yes' === $profile_description ) {
|
751 |
?>
|
752 |
|
753 |
<div class="fts-profile-description"><?php echo $this->convert_instagram_description_links( $bio ); ?>
|
@@ -759,9 +761,9 @@ if ( 'yes' === $profile_description ) {
|
|
759 |
|
760 |
</div>
|
761 |
<?php
|
762 |
-
} elseif (
|
763 |
echo '<div class="instagram-social-btn-top">';
|
764 |
-
echo $this->social_follow_button( 'instagram', $
|
765 |
echo '</div>';
|
766 |
}
|
767 |
|
@@ -915,7 +917,7 @@ if ( 'yes' === $profile_description ) {
|
|
915 |
</div>
|
916 |
|
917 |
<?php
|
918 |
-
if ( isset( $instagram_username ) && 'yes' === $fts_instagram_show_follow_btn && 'instagram-follow-above' === $fts_instagram_show_follow_btn_where ) {
|
919 |
echo '<div class="fts-follow-header-wrap">';
|
920 |
echo $this->social_follow_button( 'instagram', $instagram_username );
|
921 |
echo '</div>';
|
@@ -1308,9 +1310,9 @@ if ( 'yes' === $profile_description ) {
|
|
1308 |
// Make sure it's not ajaxing.
|
1309 |
if ( ! isset( $_GET['load_more_ajaxing'] ) ) {
|
1310 |
// Social Button.
|
1311 |
-
if ( isset( $
|
1312 |
echo '<div class="instagram-social-btn-bottom">';
|
1313 |
-
echo $this->social_follow_button( 'instagram', $
|
1314 |
echo '</div>';
|
1315 |
}
|
1316 |
}
|
485 |
$insta_data = (object) array_merge( (array) $instagram_business, (array) $instagram_business_output );
|
486 |
|
487 |
// echo 'rrrrrrrrrrrr';
|
488 |
+
// echo '<br/><pre>';
|
489 |
+
// print_r( $insta_data );
|
490 |
+
// echo '</pre>';
|
491 |
|
492 |
if ( ! isset( $_GET['load_more_ajaxing'] ) ) {
|
493 |
$this->fts_create_feed_cache( $business_cache, $insta_data );
|
565 |
}
|
566 |
}
|
567 |
|
568 |
+
// echo '<br/>asdfasdfasdf<pre>';
|
569 |
+
// print_r( $insta_data );
|
570 |
+
// echo '</pre>zzzz';
|
571 |
// $instagram_data_array['user_info'] = 'https://graph.instagram.com/me?fields=id,username,media_count,account_type&access_token=' . $fts_instagram_access_token_final;
|
572 |
}
|
573 |
|
605 |
if ( current_user_can( 'administrator' ) ) {
|
606 |
|
607 |
if ( 'user' === $type || !isset( $type ) ) {
|
608 |
+
$error = esc_html( 'The Legacy API is depreciated as of March 31st, 2020 in favor of the new Instagram Graph API and the Instagram Basic Display API. Please go to the instagram Options page of our plugin and reconnect your account and generate a new shortcode and replace your existing one.', 'feed-them-social' );
|
609 |
} elseif ( isset( $error_check->error_message ) ) {
|
610 |
$error = $error_check->error_message;
|
611 |
} elseif ( isset( $error_check->meta->error_message ) ) {
|
644 |
$website = $instagram_user_info->website;
|
645 |
|
646 |
}
|
647 |
+
elseif( 'basic' === $type ){
|
648 |
+
$username = $insta_data->data[0]->username;
|
649 |
+
}
|
650 |
|
651 |
if ( current_user_can( 'administrator' ) && 'true' === $debug_userinfo ) {
|
652 |
echo 'aSDasdasDasdaSDa<pre>';
|
675 |
<?php
|
676 |
}
|
677 |
|
678 |
+
if ( isset( $profile_name, $type ) && 'yes' === $profile_name && 'business' === $type ) {
|
679 |
?>
|
680 |
<div class="fts-profile-name-wrap">
|
681 |
|
691 |
<?php
|
692 |
}
|
693 |
// $profile stats comes from the shortcode
|
694 |
+
if ( isset( $profile_stats, $type ) && 'yes' === $profile_stats && 'business' === $type ) {
|
695 |
// These need to be in this order to keep the different counts straight since I used either $instagram_likes or $instagram_comments throughout.
|
696 |
$number_posted_pics_fb_api = isset( $instagram_user_info->media_count ) ? $instagram_user_info->media_count : '';
|
697 |
$number_posted_pics = isset( $instagram_user_info->data->counts->media ) ? $instagram_user_info->data->counts->media : $number_posted_pics_fb_api;
|
749 |
</div>
|
750 |
<?php
|
751 |
}
|
752 |
+
if ( isset( $profile_description, $type ) && 'yes' === $profile_description && 'business' === $type ) {
|
|
|
753 |
?>
|
754 |
|
755 |
<div class="fts-profile-description"><?php echo $this->convert_instagram_description_links( $bio ); ?>
|
761 |
|
762 |
</div>
|
763 |
<?php
|
764 |
+
} elseif ( 'yes' === $fts_instagram_show_follow_btn && 'instagram-follow-above' === $fts_instagram_show_follow_btn_where && 'hashtag' !== $type ) {
|
765 |
echo '<div class="instagram-social-btn-top">';
|
766 |
+
echo $this->social_follow_button( 'instagram', $username );
|
767 |
echo '</div>';
|
768 |
}
|
769 |
|
917 |
</div>
|
918 |
|
919 |
<?php
|
920 |
+
if ( isset( $instagram_username ) && 'yes' === $fts_instagram_show_follow_btn && 'instagram-follow-above' === $fts_instagram_show_follow_btn_where && 'hashtag' !== $type ) {
|
921 |
echo '<div class="fts-follow-header-wrap">';
|
922 |
echo $this->social_follow_button( 'instagram', $instagram_username );
|
923 |
echo '</div>';
|
1310 |
// Make sure it's not ajaxing.
|
1311 |
if ( ! isset( $_GET['load_more_ajaxing'] ) ) {
|
1312 |
// Social Button.
|
1313 |
+
if ( isset( $username ) && 'yes' === $fts_instagram_show_follow_btn && 'instagram-follow-below' === $fts_instagram_show_follow_btn_where && 'hashtag' !== $type ) {
|
1314 |
echo '<div class="instagram-social-btn-bottom">';
|
1315 |
+
echo $this->social_follow_button( 'instagram', $username );
|
1316 |
echo '</div>';
|
1317 |
}
|
1318 |
}
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: slickremix, slickchris
|
3 |
Tags: Facebook, Instagram, Twitter, YouTube, Feed
|
4 |
Requires at least: 3.6.0
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 2.8.3.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Display a Custom Facebook feed, Instagram feed, Twitter feed, Pinterest feed & YouTube feed on pages, posts or widgets.
|
@@ -75,8 +75,11 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
|
|
75 |
* Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
|
76 |
|
77 |
== Changelog ==
|
|
|
|
|
|
|
78 |
= Version 2.8.3.1 Monday, March 30th, 2020 =
|
79 |
-
* NOTICE: Instagram Feed: The Legacy API will be depreciated as of March 31st, 2020 in favor of the new Instagram Graph API and the Instagram Basic Display API. Please click the the button on the
|
80 |
|
81 |
= Version 2.8.2 Friday, January 17th, 2020 =
|
82 |
* FIXED: Instagram Options & Feed: Premium feature was visible and not working properly. Please upgrade to the premium or combined streams extension to use the hashtag feed.
|
@@ -270,7 +273,7 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
|
|
270 |
= Version 2.4.0 Tuesday, April 10th, 2018 =
|
271 |
* REMOVE: Facebook Group Feed and Specific Events Posts: These feed types have been disabled by Facebook at this time. We'll post changes as we receive them from Facebook. [Read More](https://www.slickremix.com/facebook-api-changes-on-april-4th-2018/).
|
272 |
* NOTE: Facebook Event Feed: Facebook now requires you use a page access token to view this feed type. The page access token must be for that facebook page for it to work. An APP ID will not work anymore.
|
273 |
-
* FIX: Instagram Feed: The convert Instagram name option has been removed now that
|
274 |
* POPUP FIX: Instagram Hashtag or Location Feed: Because of the resent privacy change by Instagram we replaced the missing profile photo with an Instagram Icon and the persons Actual Name replaced with Handle name.
|
275 |
* FIX: Instagram Feed: To create additional Instragram Feeds we have now added access_token= to the shortcode generator on the Settings page of our plugin.
|
276 |
* FIX: Settings Page: View Extensions and Demo link not working properly.
|
2 |
Contributors: slickremix, slickchris
|
3 |
Tags: Facebook, Instagram, Twitter, YouTube, Feed
|
4 |
Requires at least: 3.6.0
|
5 |
+
Tested up to: 5.4.0
|
6 |
+
Stable tag: 2.8.3.2
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Display a Custom Facebook feed, Instagram feed, Twitter feed, Pinterest feed & YouTube feed on pages, posts or widgets.
|
75 |
* Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
|
76 |
|
77 |
== Changelog ==
|
78 |
+
= Version 2.8.3.2 Wednesday, April 8th, 2020 =
|
79 |
+
* FIXED: Instagram Feed: Profile info options not showing on the Settings page shortcode generator, follow button was not displaying and misspelling of Instagram name on legacy API error message.
|
80 |
+
|
81 |
= Version 2.8.3.1 Monday, March 30th, 2020 =
|
82 |
+
* NOTICE: Instagram Feed: The Legacy API will be depreciated as of March 31st, 2020 in favor of the new Instagram Graph API and the Instagram Basic Display API. Please click the the button on the instagram Options page of our plugin to reconnect your account. You must also generate a new shortcode and replace your existing one.
|
83 |
|
84 |
= Version 2.8.2 Friday, January 17th, 2020 =
|
85 |
* FIXED: Instagram Options & Feed: Premium feature was visible and not working properly. Please upgrade to the premium or combined streams extension to use the hashtag feed.
|
273 |
= Version 2.4.0 Tuesday, April 10th, 2018 =
|
274 |
* REMOVE: Facebook Group Feed and Specific Events Posts: These feed types have been disabled by Facebook at this time. We'll post changes as we receive them from Facebook. [Read More](https://www.slickremix.com/facebook-api-changes-on-april-4th-2018/).
|
275 |
* NOTE: Facebook Event Feed: Facebook now requires you use a page access token to view this feed type. The page access token must be for that facebook page for it to work. An APP ID will not work anymore.
|
276 |
+
* FIX: Instagram Feed: The convert Instagram name option has been removed now that instagram as removed access for this option. Set your Access Token from the Instagram Options page to get your Instagram ID now. [Read More](https://www.slickremix.com/instagram-api-change-on-april-4th-2018/).
|
277 |
* POPUP FIX: Instagram Hashtag or Location Feed: Because of the resent privacy change by Instagram we replaced the missing profile photo with an Instagram Icon and the persons Actual Name replaced with Handle name.
|
278 |
* FIX: Instagram Feed: To create additional Instragram Feeds we have now added access_token= to the shortcode generator on the Settings page of our plugin.
|
279 |
* FIX: Settings Page: View Extensions and Demo link not working properly.
|