[swx] swx twitter gateway problem
ben
ben_da_dog at yahoo.co.uk
Thu Jul 2 14:08:33 PDT 2009
Hi Ramon,
This list is obsolete. The swx mailing is now hosted on google groups.
Please go to http://groups.google.com/group/swx-format, join the list
and resubmit your question there.
Ben
ramon cubillos wrote:
> Hi ,
> first post here...great work.
>
> i copy swx.php folder to my server.
> www.mydomain.com/php/explorer/ <http://www.mydomain.com/php/explorer/>
> runs ok , testing methods for Twitter services and run ok too.
>
> but in my flash i dont know why but i get a faulthandler everytime.
> Important,if i use swxformat.org <http://swxformat.org> gateway url
> the code runs ok too.
> Do i have to do in any phpfile to run it ???
>
> Code:
> import org.swxformat.*;
> var swx:SWX = new SWX();
>
> swx.gateway = "http://www.mydomain.com/php/swx.php";
> swx.initializeCrossDomain( "http://www.mydomain.com/crossdomain.xml" );
> swx.encoding = "POST";
> swx.timeout = 10;
> swx.faultHandler = faultHandler;
> swx.debug = true;
>
> function resultHandler(e:Object) : void
> {
> trace("resultHandler: " + e.result);
> }
> function faultHandler(e:Object) : void
> {
> trace("faultHandler: " );
> }
>
> swx.Twitter.friends(["myUser","myPass"], resultHandler);
>
> really thanks and sorry for my english.
> ------------------------------------------------------------------------
>
> _______________________________________________
> swx mailing list
> swx at osflash.org
> http://osflash.org/mailman/listinfo/swx_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swx_osflash.org/attachments/20090703/5a081896/attachment.html>
More information about the swx
mailing list