Solved same origin policy issue of instagram API