{"action":"created","issue":{"url":"https://api.github.com/repos/totemstech/instagram-node/issues/67","repository_url":"https://api.github.com/repos/totemstech/instagram-node","labels_url":"https://api.github.com/repos/totemstech/instagram-node/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/totemstech/instagram-node/issues/67/comments","events_url":"https://api.github.com/repos/totemstech/instagram-node/issues/67/events","html_url":"https://github.com/totemstech/instagram-node/issues/67","id":106449325,"number":67,"title":"Proxy","user":{"login":"misterjt","id":1521354,"avatar_url":"https://avatars.githubusercontent.com/u/1521354?v=3","gravatar_id":"","url":"https://api.github.com/users/misterjt","html_url":"https://github.com/misterjt","followers_url":"https://api.github.com/users/misterjt/followers","following_url":"https://api.github.com/users/misterjt/following{/other_user}","gists_url":"https://api.github.com/users/misterjt/gists{/gist_id}","starred_url":"https://api.github.com/users/misterjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterjt/subscriptions","organizations_url":"https://api.github.com/users/misterjt/orgs","repos_url":"https://api.github.com/users/misterjt/repos","events_url":"https://api.github.com/users/misterjt/events{/privacy}","received_events_url":"https://api.github.com/users/misterjt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-14T23:48:50Z","updated_at":"2016-03-02T19:21:56Z","closed_at":null,"body":"Is it possible to use proxy with you library? \r\nI mean connect to instagram server through proxy server via HTTPS."},"comment":{"url":"https://api.github.com/repos/totemstech/instagram-node/issues/comments/191382799","html_url":"https://github.com/totemstech/instagram-node/issues/67#issuecomment-191382799","issue_url":"https://api.github.com/repos/totemstech/instagram-node/issues/67","id":191382799,"user":{"login":"misterjt","id":1521354,"avatar_url":"https://avatars.githubusercontent.com/u/1521354?v=3","gravatar_id":"","url":"https://api.github.com/users/misterjt","html_url":"https://github.com/misterjt","followers_url":"https://api.github.com/users/misterjt/followers","following_url":"https://api.github.com/users/misterjt/following{/other_user}","gists_url":"https://api.github.com/users/misterjt/gists{/gist_id}","starred_url":"https://api.github.com/users/misterjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterjt/subscriptions","organizations_url":"https://api.github.com/users/misterjt/orgs","repos_url":"https://api.github.com/users/misterjt/repos","events_url":"https://api.github.com/users/misterjt/events{/privacy}","received_events_url":"https://api.github.com/users/misterjt/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T19:21:55Z","updated_at":"2016-03-02T19:21:55Z","body":"@Volox it's right. Set up the node-https-proxy-agent object and pass it like \r\n```\r\nfunction getAPI(token){\r\n\tvar temp_ip='127.0.0.1';\r\n\tvar temp_proxy=temp_ip+':7459';\r\n\tvar api= require('instagram-node').instagram({\r\n\t\tsign_request:{client_secret:clientSecret,ip:temp_ip},\r\n\t\tagent:new HttpsProxyAgent(temp_proxy)\r\n\t});\r\n\tapi.use({access_token:token});\r\n\treturn api;\r\n}\r\n```\r\n\r\nthis is real code from my project. "}}