Plugin Directory

Changeset 3211228


Ignore:
Timestamp:
12/20/2024 05:39:13 PM (15 months ago)
Author:
pattihis
Message:

Release v1.4.0

Location:
simple-photo-feed
Files:
34 added
6 edited

Legend:

Unmodified
Added
Removed
  • simple-photo-feed/trunk/README.txt

    r3200001 r3211228  
    66Tested up to: 6.7.1
    77Requires PHP: 7.2
    8 Stable tag: 1.3.2
     8Stable tag: 1.4.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161We've made it super easy for you. Just click the "Connect Account" button, login to your Instagram and accept the plugin. That's it!
    6262
     63= Does this work with Personal Accounts?  =
     64
     65Unfortunately, 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
    6367= My Instagram feed isn’t displaying. Why not!? =
    6468
     
    6872* 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.
    6973* 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.
    7075
    7176If 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.
     
    8994
    9095== 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
    91100
    92101= 1.3.2 =
  • simple-photo-feed/trunk/admin/class-simple-photo-feed-admin.php

    r3013593 r3211228  
    9191            __( 'Simple Photo Feed Settings', 'simple-photo-feed' ),
    9292            __( 'Simple Photo Feed', 'simple-photo-feed' ),
    93             'manage_options',
     93            'edit_posts',
    9494            $this->plugin_name,
    9595            array( $this, 'simple_photo_feed_admin_display' ),
  • simple-photo-feed/trunk/admin/partials/simple-photo-feed-admin-display.php

    r3117290 r3211228  
    6161                    if ( (bool) $options['auth'] ) :
    6262                        $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                         }
    6863                        ?>
    6964                        <tr class="spf_profile_row">
  • simple-photo-feed/trunk/includes/class-simple-photo-feed-api.php

    r3069975 r3211228  
    4141            'authorize_url' => 'https://api.instagram.com/oauth/authorize/',
    4242            'response_type' => 'code',
    43             'scope'         => 'user_profile,user_media',
     43            'scope'         => 'instagram_business_basic',
    4444            'root'          => 'https://graph.instagram.com/',
    4545            'redirect_uri'  => 'https://gp-web.dev/instagram-authorize/',
  • simple-photo-feed/trunk/includes/class-simple-photo-feed.php

    r3200001 r3211228  
    6868            $this->version = SPF_VERSION;
    6969        } else {
    70             $this->version = '1.3.2';
     70            $this->version = '1.4.0';
    7171        }
    7272        $this->plugin_name = 'simple-photo-feed';
     
    8282        $options['token']      = $options['token'] ?: '';
    8383        $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';
    8686        // phpcs:enable
    8787
  • simple-photo-feed/trunk/simple-photo-feed.php

    r3200001 r3211228  
    1414 * Plugin URI:        https://wordpress.org/plugins/simple-photo-feed/
    1515 * 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.2
     16 * Version:           1.4.0
    1717 * Requires at least: 5.3.0
    1818 * Tested up to:      6.7.1
     
    3434 * Current plugin version
    3535 */
    36 define( 'SPF_VERSION', '1.3.2' );
     36define( 'SPF_VERSION', '1.4.0' );
    3737
    3838/**
Note: See TracChangeset for help on using the changeset viewer.