moo-instagram v1.0



Details

Author
Adrian Statescu
Current version
v1.0
GitHub
thinkphp/moo-instagram
Downloads
830
Category
Utilities
Tags
Report
GitHub Issues

Releases


Dependencies

  • core/1.5.2: *
  • more/1.5.2: Request.JSONP
  • _self_/_current_: Core/MooTools

How to use

Include the latest version MooTools Framework, then .js into the page:


Example

<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.5.2/mootools.min.js"></script>
<script type="text/javascript" src="moo-instagram-min.js"></script>
<script type="text/javascript" src="MooTools-More-1.5.2.js"></script>

window.addEvent('domready', function() {

      var clientId = 'your-clientId';

                            new Instagram('photos',{clientId : clientId, 
                                                    count    : 10,
                                                    hash     : 'vamaveche'
                            })

                            new Instagram('photos2',{clientId : clientId, 
                                                    count    : 10,
                                                    location: {id: 514276}
                            })

                            new Instagram('photos3',{clientId : clientId, 
                                                    count    : 10,
                                                    search: { lat: 48.858844, lng: 2.294351 }
                            })


});


#HTML

<div class="pure-g">                 
            <p>tagged #vamaveche</p>
            <div class="pure-u-1-4" id="photos">
            Loading...
            </div>
            <p>location: 514276</p>
            <div class="pure-u-1-4" id="photos2">
            Loading...
            </div>
            <p>lat = 48.858844 lng = 2.294351)</p>
            <div class="pure-u-1-4" id="photos3">
            Loading...
            </div>
</div>

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus