2 Replies Latest reply on Feb 6, 2009 8:09 AM by Hernan3x5

    HTTPService with a redirected URL

    Hernan3x5
      I'm developing a facebook app with flex that calls a HTTPService to http://myurl.com/myservice.php in this page I do a facebook login so it is redirected to http://login.facebook.com/ and then back to http://myurl.com/myservice.php.
      My problem is that the response that I get in flex is the redirecting script from http://login.facebook.com/ and not the final result of my page http://myurl.com/myservice.php.
      How can I solve this issue?
        • 1. Re: HTTPService with a redirected URL
          ice9_us Level 1
          I am not sure i fully understand your issue.. or how facebook works.. (if you can by pass that redirect or not)
          but if you send a httpservice...
          and store that data...

          i would hunt for the valid login stuff..
          then dump that data and call your url directly with a new httpservice..
          i wouldn't worry about any redirect..

          I am not sure if that works for you... like i said...I am not fully aware of how that works...
          • 2. Re: HTTPService with a redirected URL
            Hernan3x5 Level 1
            Thanks, I think that can be a solution, now I need to get all the POST information sent by the facebook page and resubmit it to mypage.php with another HTTPService.
            Any help on how to get all the POST information and resubmit it to another HTTPService?