Search code examples
instagraminstagram-api

Connection Error while communicating with Instagram API


I am trying to communicate with Instagram API, once i provide the details about Client ID and Client Secret and get authenticated, Instagram sends me back to given redirected URL where i am trying to retrieve the basic user info and recent photos but after waiting for a while, it gives me this error

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 179.60.192.52:443

Please let me know if anybody faced and resolved this before.


Solution

  • I got the problem, it was due to the firewall policy of my network that was blocking few ports. Once i hosted my work with a professional hosting company, it worked like a charm. Thank you for the folks who took time to answers :-)