By API Master | Updated il y a un mois | Social

4.9 / 10



Service Level


Back to All Tutorials (1)

How to use the Instagram API with Python

<a href=“”>Instagram</a> is a great way to share images and short videos with your friends.  But it is designed for use on a phone.  How can we capture Instagram feeds and put them on our website?  If Python is not your preference you can read about <a href=“”>how to use the Instagram API using PHP and Node.js</a>.  But if <a href=“”>Python</a> is your jam, follow along and you can learn about using Instagram API with Python.

<span data-offset-key=“8ikv7-0-0”>I recently helped create a site for running </span><a href=“”><span data-offset-key=“8ikv7-1-0”>virtual gymnastics competitions. </span></a><span data-offset-key=“8ikv7-2-0”>I thought it would be fun to see what people had posted on Instagram about their experience.  We instructed people to use a specific tag for their YouTube video entries. We gave no direction about Instagram.  In this article, we go through a process that allows us to pull a list of Instagram posts. The resulting posts use a specific hashtag.  This list then populates an HTML file that shows in an iframe or widget on another site.</span>

The following list is a summary of the process we will follow:
<h2>A Five-Step Process</h2>
<li><strong>Make sure you have python installed on your server</strong></li>
<li><strong>Get an API Key</strong></li>
<li><strong>Subscribe to the Instagram API</strong></li>
<li><strong>Create an output template in Python</strong></li>
<li><strong>Use it in different contexts</strong></li>

<p>Read the rest at: <a href=“”></a>.</p>

Rating: 4.9 - Votes: 100