Check the crossdomain.xml of twitter, http://www.twitter.com/crossdomain.xml

On Mon, Oct 13, 2008 at 6: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 ?
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>

Reply via email to