title: Getting large thumbnail photos from Instagram is no longer working with "replace"
body: <p>For long time I use this "replace function" to get the thumbnails by Instagram API, it worked well but now they changed somethings and I no longer to use bigger thumbnails by this way. </p>
  
  <pre><code>src="&lt;?= str_replace('s150x150/', 's320x320/', $post-&gt;images-&gt;thumbnail-&gt;url) ?&gt;"&gt;
  </code></pre>
  
  <p>By default thumbnail, it works well.
      <a href="https://scontent.cdninstagram.com/vp/94387bd7b8a247f3f4039f8789772142/5AEE2A9E/t51.2885-15/s150x150/e35/c0.135.1080.1080/26335890_2247807142112483_5882778660510892032_n.jpg" rel="noreferrer">https://scontent.cdninstagram.com/vp/94387bd7b8a247f3f4039f8789772142/5AEE2A9E/t51.2885-15/s150x150/e35/c0.135.1080.1080/26335890_2247807142112483_5882778660510892032_n.jpg</a></p>
  
  <p>But replaced thumbnail size to bigger, it appears a msg: Invalid URL signature.</p>
  
  <p><a href="https://scontent.cdninstagram.com/vp/94387bd7b8a247f3f4039f8789772142/5AEE2A9E/t51.2885-15/s320x320/e35/c0.135.1080.1080/26335890_2247807142112483_5882778660510892032_n.jpg" rel="noreferrer">https://scontent.cdninstagram.com/vp/94387bd7b8a247f3f4039f8789772142/5AEE2A9E/t51.2885-15/s320x320/e35/c0.135.1080.1080/26335890_2247807142112483_5882778660510892032_n.jpg</a></p>
  
  <p>Anyone can help to get bigger thumbnail of Instagram. They changed API and I feel so tired with Facebook, they have made many changes since sync with FB and everytime like this, the developers have to update with no instructions. </p>