Step One: Direct your user to our authorization URL (Be sure to replace CLIENT_ID with your client ID and REDIRECT_URI with the url you pasted in the step above) This is the weird step - since we are making a client side web application, we need to get a pre-approved access-token from Instagram.Go to your Manage Clients on the Instagram API settings, click Manage on your project, then click on the Security Tab and enter your server URL into the Valid Redirect URIs.Create an index.html with an HTML5 template in a new directory, and fire up http-server we will need this in order to get our auth token.Note: If you do not have an Instagram account, find an account that you enjoy and use their photos for your feed.Your User ID is a string that looks like 12345678 Note: Your User ID is different than your User Name.To get your User ID, go to this site and enter your Instagram user name to get your user ID. You will also need to get your user ID go run this program. īefore you start building out your Angular web application, you will need to sign up to be an Instagram Developer:įirst go register as an Instagram Developer to get your Client ID. The feed will feature a switchable grid to change the layout of the photos on the page. You will be creating a Instagram feed using the Instagram API and Angular 1.5. Next, inside the project, you need to register as a Instagram Developer to get your Client ID In the HTML file you want to add Instafeed, you will need to add a div with the ID "instafeed".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |