Get Instagram Profile Picture in Full Size


[Update]: Looks like Instagram banned access to the URL of full size profile picture. This post becomes useless.

Paste URL of Instagram profile picture and get full-size URL of it. For example, you can try to paste the following URL:

https://instagram.fkhh1-2.fna.fbcdn.net/vp/dd4c00ec38e64a8cc8340771e555ea62/5B3BD6AB/t51.2885-19/s320x320/14719833_310540259320655_1605122788543168512_a.jpg

The trick comes from the comment of SO question [3]. The following is the implementation of the trick in JavaScript:

function getFullSizeProfilePicUrl(picurl) {
  var fullsizeurl = picurl.replace("/vp/", "/");
  fullsizeurl = fullsizeurl.replace("t51.2885-19", "t51.2885-15");
  fullsizeurl = fullsizeurl.replace(/\/s\d+x\d+\//, "/sh0.08/e35/");
  return fullsizeurl;
}

I also write a Chrome extension to help you download full size picture, see [4].


References:

[1]download instagram profile picture - Google search
[2]How to download my Instagram profile picture - Quora
[3]How to view instagram profile picture in full-size? - Stack Overflow
[4][Chrome Extension] Download Instagram Profile Picture in Full Size