error while loading the page in facebook

Feb 5, 2008 at 2:02 PM
Edited Feb 5, 2008 at 2:05 PM
hi

I am facing error while loading the page in facebook from localhost
please can any one help me how to crack this error.

the error is:
unable to connect to the remote server
Feb 5, 2008 at 6:14 PM
Please provide more information and the code that is causing the problem. This would help us to track down the problem...
Feb 6, 2008 at 2:05 PM
Edited Feb 6, 2008 at 2:22 PM
this error i am facing when loading the page in facebook though i used my pc name in url:

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

the code that causing the error is:

Dim webResponse As WebResponse = webRequest.GetResponse()
and
Using buffer As Stream = webRequest.GetRequestStream()
Feb 6, 2008 at 5:42 PM
Are you developping with FBML or iframe? You can't run FBML pages from localhost, because the Facebook server does not have access to your machine.
Feb 7, 2008 at 3:46 AM
thanks for ur reply:
I am developing with FBML but now I am not using any FBML tags in my application
Feb 7, 2008 at 11:21 AM
Edited Feb 7, 2008 at 11:22 AM


Tiradentes wrote:
Are you developping with FBML or iframe? You can't run FBML pages from localhost, because the Facebook server does not have access to your machine.


I am developing with IFRAME but here also giving same error though i have used my pc name in callback url instead of localhost;

The error is :

unable to connect to remote server;


the code causing that error is:
Using buffer As Stream = webRequest.GetRequestStream()

in facebook/api/facebookapi.vb

thanks in Advance

Kissu