javascript - Error: No images were returned from Instagram -
hi integrating instagram photos on website.i have getting images uploaded me using instafeed.js have take access public_content of instagram.i have generating access token also. when have used tagged images time getting error. "error: no images returned instagram"
working code user uploaded images
<head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> <script src="http://garand.me/assets/script/instagram.js"></script> </head> <body> <div id="instafeed"></div> <script type="text/javascript"> $(document).ready(function () { var userfeed = new instafeed({ get: 'user', userid: xxx, clientid: 'xxxxxx', accesstoken: 'xxxx', template: '<a href="{{link}}"><img src="{{image}}" /></a>', target: 'instafeed', limit: 5 }); userfeed.run(); }); </script> </body>
not working code images tagged.
<head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> <script src="http://garand.me/assets/script/instagram.js"></script> </head> <body> <div id="instafeed"></div> <script type="text/javascript"> $(document).ready(function () { var userfeed = new instafeed({ get: 'tagged', tagname: 'iphone', clientid: 'xxx', accesstoken: 'xxx', template: '<a href="{{link}}"><img src="{{image}}" /></a>', target: 'instafeed', limit: 5 }); userfeed.run(); }); </script> </body>
Comments
Post a Comment