Connection Error while communicating with Instagram API

时间:2015-08-10 12:44:33

标签: instagram 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.

2 个答案:

答案 0 :(得分:0)

问题可能是您没有使用您的帐户进行授权?转到浏览器中的实际重定向网址,它可能是授权网址。

我相信我遇到了同样的问题,并且必须编写代码才能转到实际的网址,然后按下按钮即可将API与我的帐户一起使用。

即使我已经拥有客户端ID和密码

答案 1 :(得分:0)

我遇到了问题,原因是我网络的防火墙策略阻塞了几个端口。有一次我在一家专业的托管公司工作,它就像一个魅力。感谢那些花时间回答的人: - )