Using the API over proxy server

Jun 17, 2009 at 7:07 AM

Hello everyone,

does anyone know, it is possible to use the API over a proxy server? does the API use the I.E proxy server settings to connect to the facebook server?

I'm developing application for Desktop, and I'd like to use a proxy server to connect to the facebook. does anyone know how can i do this?

Jul 15, 2009 at 5:03 PM

hi,

add proxy settings in api.cs file

add these lines with your proxy information on method  postRequest()

WebRequest webRequest = WebRequest.Create("http://stackoverflow.com/");
webRequest
.Proxy = new WebProxy("http://proxyserver:80/",true);