AIR Query

0 views
Skip to first unread message

abhishekchess1

unread,
Oct 12, 2008, 4:41:13 AM10/12/08
to Chennai Flex User Group
could u tell me how can we do application in AIR which show me
messages send at twitter at our account and also how we can send msg
from AIR to twitter's our account
i dont know how to use API, i know FLex 3


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 ?
abhishe...@gmail.com
Reply all
Reply to author
Forward
0 new messages