Below is the code snippet in question:
$.ajax({
url: localStorage.getItem("isntagram link"),
// url: "https://api.instagram.com/v1/users/self/feed?access_token=233291163.8a612cd.c49f77de073746e9a2f53116b720302e",
method: 'GET',
dataType: 'jsonp',
The code snippet is retrieving a URL from local storage which should point to a JSON feed. Interestingly, the commented out URL in the code works as intended, but attempting to call the same link from local storage is not successful. Your help on this matter would be greatly appreciated.