i start invite friend using stagewebview
following:
private function invitefriends():void { var urlrequest:string = "https://www.facebook.com/dialog/apprequests?%20app_id=xxx&%20message=let's%20play%20movie%20star%20planet!&%20redirect_uri=http://www.facebook.com"; m_webview = new stagewebview(); m_webview.stage = stage; m_webview.viewport = new rectangle(0, 0, stage.stagewidth, stage.stageheight); m_webview.loadurl(urlrequest); m_webview.addeventlistener(httpstatusevent.http_status, handleevent); //m_webview.addeventlistener(event.complete, handleevent); } protected function handleevent(_event:httpstatusevent):void { trace (_event.type); trace (_event.status); trace (_event.responseurl); }
when push send button in invitation page, process redirect facebook.com.
so, if possible check process redirecting or not?
i try event.complete
call when load invite complete.
i try invite using as3 facebook api, got problems here.
thank you.