Title: Grab URL From JSON Array
Last modified: August 30, 2016

---

# Grab URL From JSON Array

 *  Resolved [ColinJSwinney](https://wordpress.org/support/users/colinjswinney/)
 * (@colinjswinney)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/grab-url-from-json-array-1/)
 * Hello,
 * Great plug-in! I’m trying to implement a change in the code and I’m not sure 
   how to begin.
 * Basically, I have a CPT called “Apps”, and we use ACF to enter in an iTunes App
   ID and pull in JSON data. It looks something like this…
 *     ```
       $appEntryID = get_field('app_entry_id_number');
         $appEntryInfo = 'http://itunes.apple.com/lookup?id='. $appEntryID .'';
         $appEntryData = json_decode(file_get_contents($appEntryInfo), true);
         $appEntryTitle = $appEntryData['results'][0]['trackName'];
         $appEntryURL = $appEntryData['results'][0]['trackViewUrl'];
         $appEntryIcon512 = $appEntryData['results'][0]['artworkUrl512'];
       ```
   
 * The variable $appEntryIcon512 spits out a url that I would like to insert into
   Nelio. Can you point me in the right direction as to what hooks or filters I 
   would need to adjust? This CPT does not use the_content() FWIW…
 * Thanks for any ideas!!
 * [https://wordpress.org/plugins/external-featured-image/](https://wordpress.org/plugins/external-featured-image/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Aguilera](https://wordpress.org/support/users/davilera/)
 * (@davilera)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/grab-url-from-json-array-1/#post-6661067)
 * This thread is duplicated. See [Grab URL From JSON Array (original)](https://wordpress.org/support/topic/grab-url-from-json-array).

Viewing 1 replies (of 1 total)

The topic ‘Grab URL From JSON Array’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-featured-image_947a5f.svg)
 * [Nelio External Featured Image (discontinued) - Available in Nelio Content](https://wordpress.org/plugins/external-featured-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-featured-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-featured-image/)
 * [Active Topics](https://wordpress.org/support/plugin/external-featured-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-featured-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-featured-image/reviews/)

## Tags

 * [change code](https://wordpress.org/support/topic-tag/change-code/)
 * [json](https://wordpress.org/support/topic-tag/json/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Aguilera](https://wordpress.org/support/users/davilera/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/grab-url-from-json-array-1/#post-6661067)
 * Status: resolved