Simple tool for generating list of my Instagram posts using Instagram Basic API from Facebook as goinsta that I have been using for a few years is now dead.
I am using Instagram media URLs for displaying images on my static webpage, it saves me bandwidth as traffic goes directly from Instagram CDN. It is free and legal for personal webpage [*]
[**]
.
To use build main.go and run it.
Set enviroment variable $IG_TOKEN to your long living token that you can quickly generate from your Facebook developer account.
Then go to localhost:8080/json. Parameter limit (default 20) sets how many Instagram post you will get in json file. Or use curl 'http://localhost:808/json?limit=10' -o instagram.json'
Now you have a json file with signed links to your Instagram media. Use it in your static webpage for images gallery, portoflio etc...