There’s a host of ways you can implement certain types of feeds, whether you want it to grab your own feed, or search for a specific hashtag. Instafeed plugin for websites code#This will need to be ABOVE the code we are about to discuss in the next point (but doesn’t need to be above the div tag we made in point 0). Second things first: Make sure you’ve included the instafeed.js file in your code.If it didn’t, I implemented it by putting the following code on my site: Once you’ve figured out where you want the Instagram feed to sit on your site, give the element an id of instafeed.That really long client ID is important, as we’ll need that later. Once you’ve filled that in, you will see some details.You’re now on - fill in that pesky form!.You should now be on - can you see where it says ‘Register a New Client’ towards the top-right-hand corner? Click that button.Then you should be taken to - you’ll see a button on there that says ‘Register Your Application’.Firstly, go to - it’ll ask you to log in (if you’re not already).This can be a little awkward, but follow this and you’ll get it working: If this doesn’t make sense, here is an example: My instagram account can be located at Therefore, my account name is sunilsandhu Plop this into the smashballoon link and it’ll give you your user id - it’s quite long but make sure you copy the whole damn thing, as you’ll need it in a bit. To get this, simply visit and type in your instagram account name. It’s the magical JS code that you’ll have to play with (a little) to get the thing to work. This is a case of simply adding the instafeed.js file from this github link: There’s no need to tamper with it, it simply works. Let’s go through each bit and explain what you need to do. The following bits are needed to make the Instagram API work:Ĥ - magical JS code to activate the feed (more on this later) Don’t worry, you can make the feed look way better than this!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |