Hi I am using Twitter authentication in my rails application.Update on twitter timeline is working fine but I am not able to delete particular twit using status_id I have tried with *Client.status(@message.statusid).destroy but it returns nil. *Is there any other way to do the same? -- Hemali Chauhan --~--~---------~--~----~------------~-------~--~----~ 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 Wed, May 27, 2009 at 5:04 AM, Hemali Chauhan <hemali.chauhan5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Hi > > I am using Twitter authentication in my rails application.Update on twitter > timeline is working fine but I am not able to delete particular twit using > status_id > > I have tried with *Client.status(@message.statusid).destroy but it returns > nil. *Is there any other way to do the same? > > -- > Hemali Chauhan > >Hermali, should it be Client.status(@message.status_id).destroy or did you make a typo in the above? -Conrad> > > >--~--~---------~--~----~------------~-------~--~----~ 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 Conrad, Thanks for your response. basically statusid is my database field in which I am storing id (status_id of a particular twit) which is uniquely given by Twitter.com. so statusid OR status_id..whatever..I have checked *Client.status(@message.statusid) returns me corresponding message detail but still destroy doesn''t work.* ** awating for the response ** Thanks, On Wed, May 27, 2009 at 7:45 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Wed, May 27, 2009 at 5:04 AM, Hemali Chauhan < > hemali.chauhan5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hi >> >> I am using Twitter authentication in my rails application.Update on >> twitter timeline is working fine but I am not able to delete particular twit >> using status_id >> >> I have tried with *Client.status(@message.statusid).destroy but it >> returns nil. *Is there any other way to do the same? >> >> -- >> Hemali Chauhan >> >> > Hermali, should it be Client.status(@message.status_id).destroy or did > you make a typo in the above? > > -Conrad > > >> >> >> > > > >-- Hemali Chauhan Complitech Solutions (www.complitech.net) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---