Instagram Basic Display API: Creating a Facebook App

Today we learn how to setup a Facebook App for use with the Instagram Basic Display API. We create a Facebook app, add Instagram to our Facebook app, create an Instagram app under our Facebook App, and add our personal Instagram account as a tester under our new Instagram App.

A Facebook App is required in order to use the Instagram Basic Display API. The Instagram Basic Display API allows us read only access to any Instagram Account that grants access to our App. We can get things like user info, number of posts, list of users posts, details on specific Instagram posts and more.

Step 1: Create a Facebook App

  1. Go to https://developers.facebook.com/apps/
  2. Create a new App

 

Step 2: Configure Facebook App Settings

  1. Navigate to “Settings > Basic”
  2. Fill in App Domain: Add domain(s) where the App will live.
  3. Fill in Privacy Policy: URL to your privacy policy (or any URL will do).
  4. Scroll to the bottom, click “Add Platform” and select “Website”. Add your domain where the App will live.

 
Facebook App Settings Basic

Step 3: Add Instagram App to Facebook App

In the side bar on the left click on “PRODUCTS”. Find Instagram and click “Set Up”

instagram product setup

In the side bar on the left there should be an Instagram section. Navigate to “Instagram > Basic Display” and click “Create New App”.

basic display tab

Under the Basic Display tab now we need to configure a few settings.

  • Valid OAuth Redirect URIs: This is the URL the Instagram will redirect the user back to after they have authenticated with our app.
  • Deauthorize Callback URL: Base domain of our website.
  • Data Deletion Request URL: Base domain of our website.

 
instagram app

Step 4: Add Test User

In order to test with the Instagram Basic Display API. We will add ourselves as a test user to our Instagram App. Navigate to the Roles section in the left hand side bar and add yourself to the “Instagram Testers” section.

instagram testers

Login to your Instagram account in a web browser, go to your profile, click on the settings gear icon, click “Apps and Websites”, and select the “TESTER INVITES” tab. We should see an invite from the App. Click “Accept”. We have authorized our App and can begin using the Instagram Basic Display API.

instagram tester invite

That is how we setup a Facebook App and an Instagram App so we can use Instagram Basic Display API. Since we are a test user and have authorized the app, we can use the Instagram Basic Display API to get things like the Instagram accounts profile information and posts!

Links

Code on GitHub

YouTube Video

That is going to do it for this post! Leave any comments/questions/concerns below and thanks for stopping by the blog!

163 comments

  1. After checking out a handful of the blog articles on your website, I seriously appreciate your technique of writing a blog. I saved it to my bookmark website list and will be checking back soon. Please visit my website as well and let me know your opinion.

  2. After I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the exact same comment. Is there an easy method you can remove me from that service? Cheers.

  3. This is the right blog for anybody who wishes to find out about this topic. You realize a whole lot its almost hard to argue with you (not that I personally will need to…HaHa). You certainly put a fresh spin on a subject that has been written about for decades. Great stuff, just excellent.

  4. When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I receive 4 emails with the same comment. Is there a way you can remove me from that service? Thanks a lot.

  5. I’m amazed, I have to admit. Rarely do I come across a blog that’s both equally educative and amusing, and without a doubt, you’ve hit the nail on the head. The problem is something which not enough folks are speaking intelligently about. I am very happy that I came across this in my hunt for something relating to this.

  6. Having read this I believed it was really enlightening. I appreciate you taking the time and energy to put this content together. I once again find myself personally spending way too much time both reading and commenting. But so what, it was still worth it.

  7. May I just say what a relief to discover somebody who genuinely understands what they’re talking about on the net. You certainly know how to bring an issue to light and make it important. More and more people have to check this out and understand this side of your story. It’s surprising you are not more popular because you most certainly possess the gift.

  8. Everything is very open with a precise explanation of the issues. It was definitely informative. Your website is very useful. Thank you for sharing.

  9. It’s hard to find experienced people about this topic, but you seem like you know what you’re talking about! Thanks

  10. Spot on with this write-up, I really believe this site needs far more attention. I’ll probably be returning to read more, thanks for the advice.

  11. I’m impressed, I must say. Seldom do I encounter a blog that’s both educative and interesting, and let me tell you, you have hit the nail on the head. The issue is something not enough folks are speaking intelligently about. I’m very happy I found this in my search for something concerning this.

  12. This is the right blog for everyone who wants to understand this topic. You understand a whole lot its almost hard to argue with you (not that I actually will need to…HaHa). You certainly put a brand new spin on a subject which has been discussed for years. Wonderful stuff, just wonderful.

  13. I was very pleased to find this site. I need to to thank you for your time for this wonderful read!! I definitely savored every bit of it and i also have you book-marked to look at new information on your blog.

  14. Hi, I do believe this is an excellent website. I stumbledupon it 😉 I am going to revisit once again since i have bookmarked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.

  15. The very next time I read a blog, Hopefully it does not disappoint me as much as this particular one. I mean, I know it was my choice to read, however I really believed you’d have something useful to say. All I hear is a bunch of complaining about something you could possibly fix if you were not too busy looking for attention.

  16. Your style is so unique compared to other folks I’ve read stuff from. Many thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this site.

  17. This is a really good tip particularly to those new to the blogosphere. Brief but very accurate information… Many thanks for sharing this one. A must read post!

  18. I wanted to thank you for this excellent read!! I certainly enjoyed every bit of it. I have you book-marked to check out new stuff you post…

  19. The next time I read a blog, I hope that it doesn’t disappoint me as much as this particular one. After all, Yes, it was my choice to read through, nonetheless I actually believed you would have something interesting to talk about. All I hear is a bunch of complaining about something that you could possibly fix if you weren’t too busy seeking attention.

  20. Oh my goodness! Amazing article dude! Thank you, However I am going through problems with your RSS. I don’t know the reason why I am unable to subscribe to it. Is there anybody getting identical RSS issues? Anyone who knows the answer will you kindly respond? Thanx.

  21. Having read this I thought it was very enlightening. I appreciate you taking the time and energy to put this content together. I once again find myself spending a lot of time both reading and posting comments. But so what, it was still worth it!

  22. Howdy, I believe your blog might be having browser compatibility issues. Whenever I look at your web site in Safari, it looks fine however, when opening in I.E., it’s got some overlapping issues. I merely wanted to give you a quick heads up! Aside from that, excellent blog.

  23. I’m extremely pleased to discover this great site. I wanted to thank you for your time due to this fantastic read!! I definitely savored every little bit of it and i also have you book marked to look at new information in your web site.

  24. Right here is the perfect webpage for anyone who wants to understand this topic. You know so much its almost tough to argue with you (not that I really will need to…HaHa). You definitely put a new spin on a topic which has been written about for years. Excellent stuff, just great.

  25. You have made some really good points there. I looked on the net to find out more about the issue and found most people will go along with your views on this web site.

  26. An impressive share! I’ve just forwarded this onto a coworker who had been conducting a little homework on this. And he in fact bought me breakfast simply because I stumbled upon it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanks for spending time to discuss this issue here on your web page.

  27. Right here is the right website for anyone who hopes to understand this topic. You understand so much its almost tough to argue with you (not that I personally will need to…HaHa). You definitely put a new spin on a topic which has been discussed for years. Wonderful stuff, just excellent.

  28. I blog often and I genuinely thank you for your content. The article has truly peaked my interest. I am going to take a note of your blog and keep checking for new information about once per week. I opted in for your Feed as well.

  29. I’m amazed, I have to admit. Rarely do I encounter a blog that’s equally educative and interesting, and let me tell you, you’ve hit the nail on the head. The problem is an issue that too few men and women are speaking intelligently about. I am very happy I stumbled across this in my hunt for something concerning this.

  30. I’m amazed, I must say. Seldom do I encounter a blog that’s both educative and engaging, and let me tell you, you’ve hit the nail on the head. The issue is something which too few folks are speaking intelligently about. I’m very happy that I stumbled across this during my search for something concerning this.

  31. An outstanding share! I have just forwarded this onto a co-worker who was conducting a little research on this. And he actually bought me breakfast due to the fact that I stumbled upon it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending some time to discuss this subject here on your site.

  32. Spot on with this write-up, I actually feel this web site needs a great deal more attention. I’ll probably be returning to see more, thanks for the info.

  33. This is a really good tip especially to those fresh to the blogosphere. Brief but very precise info… Appreciate your sharing this one. A must read article.

  34. When I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I receive 4 emails with the same comment. Perhaps there is a means you can remove me from that service? Thanks a lot.

  35. Spot on with this write-up, I truly think this website needs a great deal more attention. I’ll probably be back again to see more, thanks for the advice.

  36. Hi there, There’s no doubt that your site could possibly be having internet browser compatibility problems. Whenever I take a look at your site in Safari, it looks fine but when opening in I.E., it has some overlapping issues. I simply wanted to provide you with a quick heads up! Besides that, fantastic website!

  37. Howdy! This post could not be written any better! Looking through this post reminds me of my previous roommate! He always kept preaching about this. I most certainly will send this post to him. Pretty sure he’s going to have a very good read. Many thanks for sharing!

  38. Having read this I thought it was really enlightening. I appreciate you taking the time and effort to put this informative article together. I once again find myself spending way too much time both reading and posting comments. But so what, it was still worthwhile!

  39. When I originally commented I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I recieve 4 emails with the same comment. Perhaps there is a way you are able to remove me from that service? Thank you.

  40. I blog quite often and I truly thank you for your content. This great article has really peaked my interest. I will bookmark your site and keep checking for new details about once per week. I opted in for your Feed too.

  41. I’m amazed, I must say. Rarely do I encounter a blog that’s both educative and amusing, and without a doubt, you’ve hit the nail on the head. The issue is something that not enough folks are speaking intelligently about. Now i’m very happy that I found this in my search for something regarding this.

  42. Its such as you read my thoughts! You appear to know a lot about this, such as you wrote the guide in it or something. I believe that you just can do with a few percent to power the message home a little bit, but other than that, this is excellent blog. An excellent read. I will certainly be back.

  43. When I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I recieve four emails with the same comment. There has to be an easy method you can remove me from that service? Thanks a lot.

  44. I’d like to thank you for the efforts you have put in writing this blog. I really hope to see the same high-grade blog posts from you later on as well. In truth, your creative writing abilities has inspired me to get my very own website now 😉

  45. Way cool! Some extremely valid points! I appreciate you writing this article and the rest of the website is also very good.

  46. Having read this I thought it was really informative. I appreciate you taking the time and energy to put this article together. I once again find myself spending a significant amount of time both reading and posting comments. But so what, it was still worth it!

  47. I truly love your site.. Great colors & theme. Did you make this site yourself? Please reply back as I’m looking to create my own personal blog and want to know where you got this from or what the theme is called. Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *