AccessPress Instagram Feed - Version 3.0.0

Version Description

  • Issue related with "User doesn't exist" resolved.
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 AccessPress Instagram Feed
Version 3.0.0
Comparing to
See all releases

Code changes from version 2.2.9 to 3.0.0

accesspress-instagram-feed.php CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
4
  Plugin name: AccessPress Instagram Feed
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
6
  Description: A plugin to add various instagram widgets with dynamic configuration options.
7
- Version: 2.2.9
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain:accesspress-instagram-feed
@@ -14,7 +14,7 @@ License: GPLv2 or later
14
 
15
  //Decleration of the necessary constants for plugin
16
  if( !defined( 'APIF_VERSION' ) ) {
17
- define( 'APIF_VERSION', '2.2.9' );
18
  }
19
 
20
  if( !defined( 'APIF_IMAGE_DIR' ) ) {
4
  Plugin name: AccessPress Instagram Feed
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
6
  Description: A plugin to add various instagram widgets with dynamic configuration options.
7
+ Version: 3.0.0
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain:accesspress-instagram-feed
14
 
15
  //Decleration of the necessary constants for plugin
16
  if( !defined( 'APIF_VERSION' ) ) {
17
+ define( 'APIF_VERSION', '3.0.0' );
18
  }
19
 
20
  if( !defined( 'APIF_IMAGE_DIR' ) ) {
inc/frontend/instagram-widget.php CHANGED
@@ -67,7 +67,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
67
  <img class="transparent-image" src="<?php echo esc_url($image_url); ?>" alt='Transparent Image'>
68
  </div>
69
  <a href="https://instagram.com/<?php echo $username; ?>" target="_blank" class="image-hover">
70
- <span class="follow">Follow Me</span>
71
  <span class="follow_icon">
72
  <img src="<?php echo $flow_icon; ?>" alt="Follow"/>
73
  </span>
67
  <img class="transparent-image" src="<?php echo esc_url($image_url); ?>" alt='Transparent Image'>
68
  </div>
69
  <a href="https://instagram.com/<?php echo $username; ?>" target="_blank" class="image-hover">
70
+ <span class="follow"><?php _e('Follow Me','accesspress-instagram-feed');?></span>
71
  <span class="follow_icon">
72
  <img src="<?php echo $flow_icon; ?>" alt="Follow"/>
73
  </span>
inc/frontend/instagram.php CHANGED
@@ -39,14 +39,16 @@ class InstaWCD{
39
  * @return json
40
  */
41
  function userMedia(){
42
- $url = 'https://api.instagram.com/v1/users/'.$this->userID().'/media/recent/?access_token='.$this->access_token;
43
- $json = self:: get_remote_data_from_instagram_in_json( $url );
 
44
  return $json;
45
  }
46
 
47
  //retrive user info
48
  function userInfo(){
49
- $url = 'https://api.instagram.com/v1/users/' . $this->userID() . '?access_token=' . $this->access_token;
 
50
  $json = self:: get_remote_data_from_instagram_in_json( $url );
51
  return $json;
52
  }
39
  * @return json
40
  */
41
  function userMedia(){
42
+ // $url = 'https://api.instagram.com/v1/users/'.$this->userID().'/media/recent/?access_token='.$this->access_token;
43
+ $url = 'https://api.instagram.com/v1/users/self/media/recent/?access_token=' . $this->access_token;
44
+ $json = self::get_remote_data_from_instagram_in_json( $url );
45
  return $json;
46
  }
47
 
48
  //retrive user info
49
  function userInfo(){
50
+ //$url = 'https://api.instagram.com/v1/users/' . $this->userID() . '?access_token=' . $this->access_token;
51
+ $url = 'https://api.instagram.com/v1/users/self/?access_token=' . $this->access_token;
52
  $json = self:: get_remote_data_from_instagram_in_json( $url );
53
  return $json;
54
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: instagram, instagram feed, instagram tag, instagram slider, instagarm mosa
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
- Stable tag: 2.2.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -39,8 +39,7 @@ All you have to do is either use a widget or shortcode to display your instagram
39
 
40
  = Upgrade to pro: =
41
 
42
- ★ Supports user feeds, recent media, user likes, popular feeds,
43
- any user, hashtag.
44
 
45
  ★ Add Instagram feeds to sidebars using widgets.
46
 
@@ -138,6 +137,9 @@ Once you install the plugin , you can check some general documentation about how
138
  5. Backend Display Settings Section
139
 
140
  == Changelog ==
 
 
 
141
  = 2.2.9 =
142
  * Done the plugin testing with wordpress version 4.9
143
  * Removal of the instruction manual for the user id field.
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
+ Stable tag: 3.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
39
 
40
  = Upgrade to pro: =
41
 
42
+ ★ Supports your recent media and hashtag.
 
43
 
44
  ★ Add Instagram feeds to sidebars using widgets.
45
 
137
  5. Backend Display Settings Section
138
 
139
  == Changelog ==
140
+ = 3.0.0 =
141
+ * Issue related with "User doesn't exist" resolved.
142
+
143
  = 2.2.9 =
144
  * Done the plugin testing with wordpress version 4.9
145
  * Removal of the instruction manual for the user id field.