Create a Client and corresponding site by following steps corresponding to your router before following this tutorial.

Instagram APIs has changed on first week of April 2019, all old versions of Spotipo will stop working because of that. Please make sure your instaleld version is 3.4.17 or newer

Assign a domain name to the spotipo server

Spotipo must be hosted on a server accessible via domain name.

Guest must be redirected to landing page using domain name (FQDN) not via IP address.

Pre-Authorize Instagram IPs

Guest must be able to access instagram without logging in for instagram-login to work.

Please add following domains to the Pre-Authorized list in Unifi controller

photos-f.ak.instagram.comscontent-b.cdninstagram.comdistilleryimage4.ak.instagram.comscontent-a.cdninstagram.comimages.ak.instagram.comphotos-h.ak.instagram.comscontent-a.cdninstagram.comphotos-e.ak.instagram.commit

Create an instagram client

Go to https://www.instagram.com/developer/clients/manage/ and create a new client by providing relevant details



Redirect url is most relevant here. It must be

http:///in/login/check/

Note the trailing /



Collect client credentials



Note down the client id and client secret



You need to provide these two while configuring Instagram Login in Spotipo.

Enable Instagram Login in Spotipo

Go to Settings-> Authentication Methods and enable Instagram Login. Make sure to configure Instagram client_id and client_secret correctly.



*

*
Was this article helpful?
Cancel
Thank you!