i hope you have found the answer on twitter mailing list. replace ".format" with ".xml" as you are expecting e4x.
- shahid On Mon, Oct 13, 2008 at 3:02 PM, abhishekchess1 <[EMAIL PROTECTED]>wrote: > hello all frnds, > > i want to connect my AIR application with twitter API, > i never used any API before, > i used > <mx:HTTPService id="httpSerSendMessage" > url="http://twitter.com/direct_messages/new.format" > result=" > resultHandlerSendMessage(event);" > fault="faultHandlerSendMessage(event);" > method="POST" > resultFormat="e4x" > > <mx:request > > <user>{userName}</user> > <text>{message}</text> > </mx:request> > </mx:HTTPService> > > but it give an error > [RPC Fault faultString="HTTP request error" > faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent > type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error > #2032: Stream Error. URL: > http://twitter.com/direct_messages/new.format" errorID=2032]. URL: > http://twitter.com/direct_messages/new.format"] > > is authentication mtd is req ? > how to use authentication mthod > http://twitter.com/account/verify_credentials.format , and wat to send > in it ? > > >

