Well, I am developing an application that permit to the members send invitation to be part of groups like circles in Hi5 To import the contacts I was using the contacts.1.0.0.3.gem from http://rubyforge.org/projects/contacts/ So my problem is that it is not working any more, all looks like that yahoo an hotmail have changed their protocols or services at the same time Can some one of you help me with this inconvenient?? May be some one has a better solution?? Thanks a lot -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, you should also try contacting the author of the gem. Good luck, -Conrad On 8/21/07, Mauricio Chica patiño <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > Well, > I am developing an application that permit to the members send > invitation to be part of groups like circles in Hi5 > To import the contacts I was using the contacts.1.0.0.3.gem from > http://rubyforge.org/projects/contacts/ > > So my problem is that it is not working any more, all looks like that > yahoo an hotmail have changed their protocols or services at the same > time > > Can some one of you help me with this inconvenient?? > May be some one has a better solution?? > > Thanks a lot > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, you should also try contacting the author of the gem. Good luck, -Conrad On 8/21/07, Mauricio Chica patiño <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > Well, > I am developing an application that permit to the members send > invitation to be part of groups like circles in Hi5 > To import the contacts I was using the contacts.1.0.0.3.gem from > http://rubyforge.org/projects/contacts/ > > So my problem is that it is not working any more, all looks like that > yahoo an hotmail have changed their protocols or services at the same > time > > Can some one of you help me with this inconvenient?? > May be some one has a better solution?? > > Thanks a lot > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hey, i am also facing the same problem, i tried to contact the author , but no reply yet. BTW, i did some investigation, found that seems the hotmails problem occurs at the login process, which i have no idea, but the yahoo occurs at the point it get the CSV files, seems yahoo just added a random key in the http request string, so the problem is we need to add a " .crumb " parameter in our HTTP request string, but i am stucking at this point... In case you guys found any solution, please give us a helping hand. Thanks, Wai-lun Conrad Taylor scribeva:> Hi, you should also try contacting the author of the gem. > Good luck, > > -Conrad > > On 8/21/07, Mauricio Chica patiño <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > > > Well, > > I am developing an application that permit to the members send > > invitation to be part of groups like circles in Hi5 > > To import the contacts I was using the contacts.1.0.0.3.gem from > > http://rubyforge.org/projects/contacts/ > > > > So my problem is that it is not working any more, all looks like that > > yahoo an hotmail have changed their protocols or services at the same > > time > > > > Can some one of you help me with this inconvenient?? > > May be some one has a better solution?? > > > > Thanks a lot > > -- > > Posted via http://www.ruby-forum.com/. > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Hong, Yes, I have found the same issues while I was investigating I also tried to found some solution in developer.yahoo.com but they said they never haver released some API or web service to permit the access to the address book, so my question now is I want to know how AddressBookImport.com can have access. Well we still are waiting for some good answer or solution and investigating some way to solve If some one of you guys have some way please ... Mauricio Chica Patiño WL Hong wrote:> Hey, i am also facing the same problem, i tried to contact the > author , but no reply yet. > > BTW, i did some investigation, found that seems the hotmails problem > occurs at the login process, which i have no idea, but the yahoo > occurs at the point it get the CSV files, seems yahoo just added a > random key in the http request string, so the problem is we need to > add a " .crumb " parameter in our HTTP request string, but i am > stucking at this point... > > In case you guys found any solution, please give us a helping hand. > > Thanks, > > Wai-lun > > Conrad Taylor scribeva:-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi All, Is there any way to import address book of rediffmail and indiatimes using ruby. Please let me know the details. Thanks in Advance Regards, Pradeep --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hello friends, i am working on a task that "Import Address Book from indiatimes.com in c#." in this module, i solved the login process, but i cannot get the contact.csv file. can u tell me here is my code string strLoginUrl = "http://integra.indiatimes.com/Times/Logon.aspx?ru=" + HttpContext.Current.Server.UrlEncode("http://infinite.indiatimes.com/cgi-bin/gateway") + "&IS=058f3c27-6793-41c7-a676-81e3f3594a5c&NS=email&HS=kSVLJ96CWWzEmTwPZa1LD6YR7NM="; string strLoginUrlPost = "op=login&login=" + strUserid + "&passwd=" + strPassword + "&rememberme=&rememberPwd=&Sign+In="; HttpWebRequest webReqLogin = (HttpWebRequest)WebRequest.Create(strLoginUrl); webReqLogin.Method = Utility.Post; webReqLogin.UserAgent = HttpContext.Current.Request.ServerVariables["HTTP_USER_AGENT"]; webReqLogin.KeepAlive = true; webReqLogin.AllowAutoRedirect = false; webReqLogin.UseDefaultCredentials = true; webReqLogin.CookieContainer = new CookieContainer(); webReqLogin.ContentLength = strLoginUrlPost.Length; webReqLogin.ContentType="application/x-www-form-urlencoded"; StreamWriter sw = new StreamWriter(webReqLogin.GetRequestStream(), System.Text.Encoding.ASCII); sw.Write(strLoginUrlPost); sw.Close(); HttpWebResponse webResLogin = (HttpWebResponse)webReqLogin.GetResponse(); webResLogin.Cookies = webReqLogin.CookieContainer.GetCookies(webReqLogin.RequestUri); //string strNewResponseUrl = webResLogin.StatusDescription; StreamReader sr = new StreamReader(webReqLogin.GetResponse().GetResponseStream()); String strMainPage = sr.ReadToEnd(); sr.Close(); CookieCollection ccWebReqLogin = new CookieCollection(); ccWebReqLogin.Add(webResLogin.Cookies); //webResLogin.Close(); //webReqLogin.Abort(); string strAddressBookRequestUrl = webResLogin.ResponseUri.ToString(); string strAddressBookRefererUrl = "http://tilmb19.indiatimes.com/h/search?st=contact"; //2=======================================================================================HttpWebRequest webReqAddress = (HttpWebRequest)WebRequest.Create(strAddressBookRequestUrl); webReqAddress.Method = Utility.Get; webReqAddress.UserAgent = HttpContext.Current.Request.ServerVariables["HTTP_USER_AGENT"]; webReqAddress.Referer = webResLogin.ResponseUri.ToString(); webReqAddress.CookieContainer = new CookieContainer(); webReqAddress.CookieContainer.Add(ccWebReqLogin); HttpWebResponse webResAddress = (HttpWebResponse)webReqAddress.GetResponse(); webResAddress.Cookies = webReqAddress.CookieContainer.GetCookies(webReqAddress.RequestUri); StreamReader sr2 = new StreamReader(webResAddress.GetResponseStream()); string strAddressXml = sr2.ReadToEnd(); if (strAddressXml == string.Empty) { boolIsOK = false; strError = Utility.ApplicationError; return; } sr2.Close(); //webResAddress.Close(); //webReqAddress.Abort(); CookieCollection ccWebReqLogin2 = new CookieCollection(); ccWebReqLogin2.Add(webResAddress.Cookies); strAddressBookRequestUrl = "http://tilmb19.indiatimes.com"; strAddressBookRefererUrl = "http://tilmb19.indiatimes.com/h/search?st=contact"; //2=======================================================================================HttpWebRequest webReqAddress2 = (HttpWebRequest)WebRequest.Create(strAddressBookRequestUrl); webReqAddress2.UserAgent = HttpContext.Current.Request.ServerVariables["HTTP_USER_AGENT"]; webReqAddress2.Referer = webResAddress.ResponseUri.ToString(); webReqAddress2.CookieContainer = new CookieContainer(); webReqAddress2.ContentType = "application/x-www-form-urlencoded"; webReqAddress2.CookieContainer.Add(ccWebReqLogin); webReqAddress2.CookieContainer.Add(ccWebReqLogin2); webReqAddress2.AllowAutoRedirect = true; StreamReader sr21 = new StreamReader(webReqAddress2.GetResponse().GetResponseStream()); strAddressXml = sr21.ReadToEnd(); if (strAddressXml == string.Empty) { boolIsOK = false; strError = Utility.ApplicationError; return; } sr21.Close(); webReqAddress2.Abort(); Kamal Jindal +91 999 110 1929 Pradeep wrote:> Hi All, > > Is there any way to import address book of rediffmail and indiatimes > using ruby. Please let me know the details. > > Thanks in Advance > > Regards, > > Pradeep-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 16 May 2008, at 05:30, Kamal Jindal wrote:> > Hello friends, > > i am working on a task that "Import Address Book from indiatimes.com > in > c#." > > in this module, i solved the login process, but i cannot get the > contact.csv file. >Why are you chucking some C# code at a ruby on rails group ? Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---