updated, working script to fetch data from instagram