Changeset 3211228
- Timestamp:
- 12/20/2024 05:39:13 PM (15 months ago)
- Location:
- simple-photo-feed
- Files:
-
- 34 added
- 6 edited
-
tags/1.4.0 (added)
-
tags/1.4.0/LICENSE.txt (added)
-
tags/1.4.0/README.txt (added)
-
tags/1.4.0/admin (added)
-
tags/1.4.0/admin/class-simple-photo-feed-admin.php (added)
-
tags/1.4.0/admin/css (added)
-
tags/1.4.0/admin/css/simple-photo-feed-admin.css (added)
-
tags/1.4.0/admin/index.php (added)
-
tags/1.4.0/admin/js (added)
-
tags/1.4.0/admin/js/simple-photo-feed-admin.js (added)
-
tags/1.4.0/admin/partials (added)
-
tags/1.4.0/admin/partials/simple-photo-feed-admin-display.php (added)
-
tags/1.4.0/includes (added)
-
tags/1.4.0/includes/class-simple-photo-feed-activator.php (added)
-
tags/1.4.0/includes/class-simple-photo-feed-api.php (added)
-
tags/1.4.0/includes/class-simple-photo-feed-deactivator.php (added)
-
tags/1.4.0/includes/class-simple-photo-feed-i18n.php (added)
-
tags/1.4.0/includes/class-simple-photo-feed-loader.php (added)
-
tags/1.4.0/includes/class-simple-photo-feed.php (added)
-
tags/1.4.0/includes/index.php (added)
-
tags/1.4.0/index.php (added)
-
tags/1.4.0/languages (added)
-
tags/1.4.0/languages/simple-photo-feed.pot (added)
-
tags/1.4.0/public (added)
-
tags/1.4.0/public/class-simple-photo-feed-public.php (added)
-
tags/1.4.0/public/css (added)
-
tags/1.4.0/public/css/simple-photo-feed-public.css (added)
-
tags/1.4.0/public/index.php (added)
-
tags/1.4.0/public/js (added)
-
tags/1.4.0/public/js/simple-photo-feed-public.js (added)
-
tags/1.4.0/public/partials (added)
-
tags/1.4.0/public/partials/simple-photo-feed-public-display.php (added)
-
tags/1.4.0/simple-photo-feed.php (added)
-
tags/1.4.0/uninstall.php (added)
-
trunk/README.txt (modified) (4 diffs)
-
trunk/admin/class-simple-photo-feed-admin.php (modified) (1 diff)
-
trunk/admin/partials/simple-photo-feed-admin-display.php (modified) (1 diff)
-
trunk/includes/class-simple-photo-feed-api.php (modified) (1 diff)
-
trunk/includes/class-simple-photo-feed.php (modified) (2 diffs)
-
trunk/simple-photo-feed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-photo-feed/trunk/README.txt
r3200001 r3211228 6 6 Tested up to: 6.7.1 7 7 Requires PHP: 7.2 8 Stable tag: 1. 3.28 Stable tag: 1.4.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 61 61 We've made it super easy for you. Just click the "Connect Account" button, login to your Instagram and accept the plugin. That's it! 62 62 63 = Does this work with Personal Accounts? = 64 65 Unfortunately, not anymore. Meta has decided to deprecate the Instagram Basic API and [turn it off on December 4th, 2024](https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/). That was the API that regular, personal accounts could use to have access to their media posts. The only solution to embed your instagram images in your WordPress site now is to use [their Business APIs](https://developers.facebook.com/docs/instagram-platform). That means you must change your account to [a Creator or Business type](https://help.instagram.com/502981923235522#how-to-switch-your-creator-account-to-a-business-account-on-instagram). This is a very easy process and you can [always switch back](https://help.instagram.com/1717693135113805/). 66 63 67 = My Instagram feed isn’t displaying. Why not!? = 64 68 … … 68 72 * The cached feed may be invalid. Just click the "Clear Cache" button in Settings and the plugin will fetch a fresh feed of media from your Instagram account. 69 73 * You haven't added the shortcode. Add [simple-photo-feed] in a page/post, where you want your instagram feed to be displayed. 74 * You have a Personal account. Please switch to Creator or Business account. 70 75 71 76 If you’re still having an issue displaying your feed then please open a ticket in the [Support forum](https://wordpress.org/support/plugin/simple-photo-feed) with a link to the page where you're trying to display the Instagram feed and, if possible, a link to your Instagram account. … … 89 94 90 95 == Changelog == 96 97 = 1.4.0 = 98 * Update to Business API after Basic API deprecation 99 * Allow Contributors and above to access the menu page 91 100 92 101 = 1.3.2 = -
simple-photo-feed/trunk/admin/class-simple-photo-feed-admin.php
r3013593 r3211228 91 91 __( 'Simple Photo Feed Settings', 'simple-photo-feed' ), 92 92 __( 'Simple Photo Feed', 'simple-photo-feed' ), 93 ' manage_options',93 'edit_posts', 94 94 $this->plugin_name, 95 95 array( $this, 'simple_photo_feed_admin_display' ), -
simple-photo-feed/trunk/admin/partials/simple-photo-feed-admin-display.php
r3117290 r3211228 61 61 if ( (bool) $options['auth'] ) : 62 62 $profile = $api->spf_get_account(); 63 64 if ( is_null( $profile->media_count ) ) {65 $notice = __( 'You\'ve approved access to your profile info but not to your media', 'simple-photo-feed' );66 echo '<tr><th>' . esc_html__( 'Limited Access', 'simple-photo-feed' ) . '</th><td><div class="notice notice-warning">' . esc_html( $notice ) . '</div><p>' . esc_html__( 'To get access to all plugin\'s functionalities, please click the button below to grant additional permission.', 'simple-photo-feed' ) . '</p><p><a class="button button-secondary" href="' . esc_url( $auth ) . '">' . esc_html__( 'Grant missing permission', 'simple-photo-feed' ) . '</a></p></td></tr>';67 }68 63 ?> 69 64 <tr class="spf_profile_row"> -
simple-photo-feed/trunk/includes/class-simple-photo-feed-api.php
r3069975 r3211228 41 41 'authorize_url' => 'https://api.instagram.com/oauth/authorize/', 42 42 'response_type' => 'code', 43 'scope' => ' user_profile,user_media',43 'scope' => 'instagram_business_basic', 44 44 'root' => 'https://graph.instagram.com/', 45 45 'redirect_uri' => 'https://gp-web.dev/instagram-authorize/', -
simple-photo-feed/trunk/includes/class-simple-photo-feed.php
r3200001 r3211228 68 68 $this->version = SPF_VERSION; 69 69 } else { 70 $this->version = '1. 3.2';70 $this->version = '1.4.0'; 71 71 } 72 72 $this->plugin_name = 'simple-photo-feed'; … … 82 82 $options['token'] = $options['token'] ?: ''; 83 83 $options['cron_time'] = $options['cron_time'] ?: ''; 84 $options['app_id'] = $options['app_id'] ?: ' 441876417835861';85 $options['app_secret'] = $options['app_secret'] ?: ' a9bbb3ad41c0a797f5e5c880f7edc360';84 $options['app_id'] = $options['app_id'] ?: '3669671916678176'; 85 $options['app_secret'] = $options['app_secret'] ?: 'f9b2c883446a66860f861baa4324bec6'; 86 86 // phpcs:enable 87 87 -
simple-photo-feed/trunk/simple-photo-feed.php
r3200001 r3211228 14 14 * Plugin URI: https://wordpress.org/plugins/simple-photo-feed/ 15 15 * Description: Simple Photo Feed provides an easy way to connect to your Instagram account and display your photos in your WordPress site. 16 * Version: 1. 3.216 * Version: 1.4.0 17 17 * Requires at least: 5.3.0 18 18 * Tested up to: 6.7.1 … … 34 34 * Current plugin version 35 35 */ 36 define( 'SPF_VERSION', '1. 3.2' );36 define( 'SPF_VERSION', '1.4.0' ); 37 37 38 38 /**
Note: See TracChangeset
for help on using the changeset viewer.