Connecting to Instagram API using OAuth and caching photos with SAMCache