Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Miguel Palau
Miguel Palau
24,176 Points

I made a jQuery plugin to display recent Instagram pictures

So I decided to write a lil plugin for jQuery to display the most recent pictures of an user.

Check it out on GitHub

https://github.com/mike3run/instagram-jquery

I made it with Flexbox in mind thanks to Guil Hernandez for the course and the Flex-wrap + flex-basis wisdom as well as the +mq mixin from the Modular Sass Course.

And thanks to Huston Hedinger for the Course on Gulp.

Demo: Click Here

2 Answers

jason chan
jason chan
31,009 Points

Another good way to hide your token is use htaccess to prevent .js view. You learn about htaccess in the php course here.

<Files ~ "\.js$">
    order allow,deny
    deny from all
</Files>
Miguel Palau
Miguel Palau
24,176 Points

Thanks but I kind of don't want to learn php I'm more about that MEAN…

More Info on PHP here

Edit: Sorry, lol didn't see you were talking about the .htaccess thing. lol

Comic is still relevant, though

jason chan
jason chan
31,009 Points

Anyways good job man.