Hi:
I need to be able to log users into our flickr account using the account username and passwrd. I have been searching online for quite a while now but only founds bits and pieces of an implementation. I am not experienced with Http calls at all. I need a complete example. This is the code I have so far
HttpWebRequest http = WebRequest.Create(url) as HttpWebRequest;
http.Method = "POST";
http.ContentType = "application/x-www-form-urlencoded";
string postData = "FormNameForUserId=" + username + "&FormNameForPassword=" + password;
byte[] dataBytes = UTF8Encoding.UTF8.GetBytes(postData);
http.ContentLength = dataBytes.Length;
using (Stream postStream = http.GetRequestStream())
{
postStream.Write(dataBytes, 0, dataBytes.Length);
}
HttpWebResponse httpResponse = http.GetResponse() as HttpWebResponse;
My main problems at this point I guess is figuring out what all the parameters are flickr requires to log "you" in.
Any suggestions are welcome
Regards, tolga