Getting started

For the most part, Instagram’s API only requires the use of a client_id. A client_id simply associates your server, script, or program with a specific application. However, some requests require authentication - specifically requests made on behalf of a user. Authenticated requests require an access_token. These tokens are unique to a user and should be stored securely. Access tokens may expire at any time in the future more here.


Head over to Jelled Web Design Blog and Look up your Instagram ID and ACCESS TOKEN:.

  • Instagram Account   [user id & access token]
  • jQuery 1.10.x
  • Bootstrap v3.x or head over here to use the plugin-only version

Initialize resources & and call on the plugin

By default the plugin displays eight (8) most recent media.
<!-- Initialize stylesheets to header -->
<link rel="stylesheet" href="/path/to/css/bootstrap.css">
<link rel="stylesheet" href="/path/to/css/pongstagr.am.css>

<!-- Initialize Javascripts to footer -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.js"></script>
<script src="/path/to/js/boostrap.js"></script>
<script src="/path/to/js/pongstagr.am.js"></script>
<script>
$(document).ready(function () {

  $('#selector').pongstgrm({
    accessId:     'YOUR-ACCESS-ID',
    accessToken:  'YOUR-ACCESS-TOKEN'
  });

});
</script>

Profile

Display your Instagram basic information.
$('#selector').pongstgrm({
  show:             'profile',
  picture_size:     '64'                  // sets profile picture to 64x64 pixels, no need to add px
  profile_bg_img:   '/path/to/image.jpg', // image url
  profile_bg_color: '#d9534f'             // background color
});

Recent Media

Display your most recent media.
$('#selector').pongstgrm({ show: 'recent' });

User Likes

Display your most recent liked media.
$('#selector').pongstgrm({ show: 'liked' });

User Feed

Display the most recent media from the people you follow .

$('#selector').pongstgrm({ show: 'feed' });

#Tag

Display the most recent media available using a tag .
$('#selector').pongstgrm({ show: 'any-tag-you-like' }); // Now Showing: #nofilter
comments powered by Disqus

Pongstagr.am is a jQuery plugin that lets you display your Instagram media to your website using Bootstrap Front-end styles and modal-plugin.

Boostrap is created by @mdo & @fat with all the in the world, released under Apache 2 License.

If you like my work & would want to show your appreciation , you can

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.