Click here to Skip to main content
15,921,203 members
Home / Discussions / Web Development
   

Web Development

 
QuestionEmail Search Engine Pin
mukera12-Jun-08 15:39
mukera12-Jun-08 15:39 
AnswerRe: Email Search Engine Pin
Christian Graus12-Jun-08 15:44
protectorChristian Graus12-Jun-08 15:44 
GeneralRe: Email Search Engine Pin
Ashfield13-Jun-08 2:51
Ashfield13-Jun-08 2:51 
QuestionHalting JS Ajax events from firing Pin
devil8512-Jun-08 11:34
devil8512-Jun-08 11:34 
QuestionHow do I make a website 'Live'. Pin
REBMCAD12-Jun-08 8:18
REBMCAD12-Jun-08 8:18 
AnswerRe: How do I make a website 'Live'. Pin
WillemM12-Jun-08 9:05
WillemM12-Jun-08 9:05 
GeneralRe: How do I make a website 'Live'. Pin
REBMCAD12-Jun-08 9:25
REBMCAD12-Jun-08 9:25 
QuestionFacebook Login protection? Pin
udikantz12-Jun-08 0:43
udikantz12-Jun-08 0:43 
hey im trying to make an app that will log in to facebook ,
im using the following method to establish connection and post my credentials:



public static void start_post(string strPage, string strBuffer)
{
//Our postvars
byte[] buffer = Encoding.ASCII.GetBytes(strBuffer);
//Initialisation

HttpWebRequest WebReq = (HttpWebRequest)WebRequest.Create(strPage);
//Our method is post, otherwise the buffer (postvars) would be useless
WebReq.Method = "POST";
//We use form contentType, for the postvars.

WebReq.ContentType = "application/x-www-form-urlencoded";
//The length of the buffer (postvars) is used as contentlength.
WebReq.ContentLength = buffer.Length;
//We open a stream for writing the postvars
WebReq.Referer = "http://www.facebook.com/index.php?";

Stream PostData = WebReq.GetRequestStream();
//Now we write, and afterwards, we close. Closing is always important!
PostData.Write(buffer, 0, buffer.Length);
PostData.Close();
//Get the response handle, we have no true response yet!
HttpWebResponse WebResp = (HttpWebResponse)WebReq.GetResponse();
//Let's show some information about the response
Console.WriteLine(WebResp.StatusCode);
Console.WriteLine(WebResp.Server);

//Now, we read the response (the string), and output it.
Stream Answer = WebResp.GetResponseStream();
StreamReader _Answer = new StreamReader(Answer);
reply = _Answer.ReadToEnd();
Console.WriteLine(reply);
}


i get the following respond from facebook:
"sorry, we're not cool enough to support your browser. please keep it real with the following browsers: ...."

any idea how to work around this facebook check , as im sending same data as my IE agent i dont know what else will work , asking for your expert help.
thank you.

Net

AnswerRe: Facebook Login protection? Pin
Ashfield12-Jun-08 1:33
Ashfield12-Jun-08 1:33 
GeneralRe: Facebook Login protection? Pin
udikantz12-Jun-08 1:35
udikantz12-Jun-08 1:35 
QuestionIIS and Portal Problems Pin
Shrimpersfan11-Jun-08 22:57
Shrimpersfan11-Jun-08 22:57 
AnswerRe: IIS and Portal Problems Pin
Ashfield12-Jun-08 1:27
Ashfield12-Jun-08 1:27 
QuestionHow to deploy my web site in localhost Pin
Exelioindia10-Jun-08 11:58
Exelioindia10-Jun-08 11:58 
AnswerRe: How to deploy my web site in localhost Pin
WillemM12-Jun-08 9:08
WillemM12-Jun-08 9:08 
QuestionHow can we implement return url in web config? Pin
ashok.redhat10-Jun-08 2:01
ashok.redhat10-Jun-08 2:01 
AnswerRe: How can we implement return url in web config? Pin
Christian Graus10-Jun-08 3:39
protectorChristian Graus10-Jun-08 3:39 
QuestionRe: How can we implement return url in web config? Pin
Vasudevan Deepak Kumar10-Jun-08 21:51
Vasudevan Deepak Kumar10-Jun-08 21:51 
QuestionHow to edit a datagrid cell value through ajax Pin
Arif Hussain10-Jun-08 1:50
Arif Hussain10-Jun-08 1:50 
AnswerRe: How to edit a datagrid cell value through ajax Pin
Christian Graus10-Jun-08 3:40
protectorChristian Graus10-Jun-08 3:40 
QuestionPage resolution problem in Laptop Pin
sidbaruah9-Jun-08 22:25
sidbaruah9-Jun-08 22:25 
AnswerRe: Page resolution problem in Laptop Pin
Christian Graus10-Jun-08 3:41
protectorChristian Graus10-Jun-08 3:41 
GeneralRe: Page resolution problem in Laptop Pin
sidbaruah10-Jun-08 18:41
sidbaruah10-Jun-08 18:41 
QuestionHow can i place a picture without affecting the screen resolution of a client machine Pin
Rasma Raj9-Jun-08 21:01
Rasma Raj9-Jun-08 21:01 
AnswerRe: How can i place a picture without affecting the screen resolution of a client machine Pin
Christian Graus10-Jun-08 3:41
protectorChristian Graus10-Jun-08 3:41 
AnswerRe: How can i place a picture without affecting the screen resolution of a client machine Pin
Shog910-Jun-08 6:09
sitebuilderShog910-Jun-08 6:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.