title: Instagram API with Laravel 5.4
body: <p>I am using an Instagram package <a href="https://github.com/vinkla/instagram" rel="nofollow noreferrer">vinkla</a> to get the user data to my app.</p>
  
  <p>Here is the code that I use in order to get the results:</p>
  
  <pre><code>public function instagram()
  {
     $insta = new Instagram();
  
     $getUser = $insta-&gt;get('gopro');
  
     dd($getUser);
  }
  </code></pre>
  
  <p>When I diedump the results I get this array on return:</p>
  
  <pre><code>array:20 [▼
    0 =&gt; {#205 ▼
      +"id": "1552323772757218591_28902942"
      +"code": "BWK9j8rlpUf"
      +"user": {#208 ▶}
      +"images": {#202 ▼
        +"thumbnail": {#203 ▶}
        +"low_resolution": {#214 ▶}
        +"standard_resolution": {#204 ▼
          +"width": 640
          +"height": 640
          +"url": "https://scontent-frt3-1.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/19624693_104174916895493_9107740182827761664_n.jpg"
        }
      }
      +"created_time": "1499271435"
      +"caption": {#207 ▶}
      +"likes": {#215 ▶}
      +"comments": {#222 ▶}
      +"can_view_comments": true
      +"can_delete_comments": false
      +"type": "image"
      +"link": "https://www.instagram.com/p/BWK9j8rlpUf/"
      +"location": {#223 ▶}
      +"alt_media_url": null
    }
    1 =&gt; {#224 ▶}
    2 =&gt; {#251 ▶}
    3 =&gt; {#278 ▶}
  
  ]
  </code></pre>
  
  <p><strong>Now the thing that I am trying to approach:</strong> 
  I want to integrate some images on my laravel app. Basically I want to get the image url from each array  <code>images-&gt;standard_resolution-&gt;url</code>.</p>
  
  <p>I have tried to iterate the array with double <code>foreach</code> no luck so far. </p>
  
  <p>Any suggestion on how to achieve that ?</p>