Changeset 1860326
- Timestamp:
- 04/18/2018 10:23:05 AM (8 years ago)
- Location:
- ultimate-instagram-feed/trunk
- Files:
-
- 3 edited
-
includes/class-ultimate-instagram-feed.php (modified) (1 diff)
-
public/class-ultimate-instagram-feed-public.php (modified) (2 diffs)
-
ultimate-instagram-feed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-instagram-feed/trunk/includes/class-ultimate-instagram-feed.php
r1675923 r1860326 70 70 71 71 $this->plugin_name = 'ultimate-instagram-feed'; 72 $this->version = '1. 0.0';72 $this->version = '1.3.4'; 73 73 74 74 $this->load_dependencies(); -
ultimate-instagram-feed/trunk/public/class-ultimate-instagram-feed-public.php
r1758562 r1860326 116 116 117 117 private function get_insts_by_user($username,$number){ 118 $username = 'https://www.instagram.com/'.$username.'/?__a=1'; 118 119 $username = 'https://api.instagram.com/v1/users/self/?access_token='.$this->access_token.''; 119 120 $username = file_get_contents($username); 120 121 $username = json_decode($username); 121 $user_id = $username-> user->id;122 $user_id = $username->data->id; 122 123 $api_url = 'https://api.instagram.com/v1/users/'.intval($user_id).'/media/recent/?access_token='.$this->access_token.'&count='.$number.''; 123 124 $api_url = file_get_contents($api_url); … … 184 185 'id'=> $inst->user->id, 185 186 'full_name'=> $inst->user->full_name, 187 'link'=>$inst->link, 186 188 'profile_picture'=> $inst->user->profile_picture, 187 189 'username'=> $inst->user->username, -
ultimate-instagram-feed/trunk/ultimate-instagram-feed.php
r1768411 r1860326 10 10 * 11 11 * @link omark.me 12 * @since 1.3. 312 * @since 1.3.4 13 13 * @package Ultimate_Instagram_Feed 14 14 * … … 17 17 * Plugin URI: ultimate-instagram-feed 18 18 * Description: Ulitmate instagram feed is the best plugin for displaying instagram feeds by username, you can display them with already designed template by shortcode, or you can display them in your ready desgined template with the WP REST API. 19 * Version: 1.3. 319 * Version: 1.3.4 20 20 * Author: Omar Kasem 21 21 * Author URI: https://profiles.wordpress.org/omarkasem
Note: See TracChangeset
for help on using the changeset viewer.