Requirements
- Install jq: http://stedolan.github.com/jq/download/
- I've tested this on a Mac, but it should work on any *nix that has bash and curl.
Get an Instagram access token
- The easiest way to get on may be making a request via the API console: http://instagram.com/developer/api-console/
- Under 'Authentication', choose OAuth 2 and follow the instructions.