GetOptimalUrls with Application Account

Last post 07-04-2008 1:05 AM by BWilliams. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-03-2008 9:55 PM

    GetOptimalUrls with Application Account

    I have a child account (test) under an application (app), and I'm trying to use GetOptimalUrls.

    When I get a session token for the child account login, it works great.  But if I try to use a session token for the application login, I always get a "Invalid Path" error.  I've tried direct (/app/test/file.txt) and relative (/test/file.txt) paths.

    Is it possible to use GetOptimalUrls with anything other than the users login session?

  • 07-04-2008 12:04 AM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 569

    Re: GetOptimalUrls with Application Account

     To use absolute paths you will need to do:

    //appname/child/path/file.txt

    your path would be: //app/test/file.txt

    You will need to use a master account when calling the the absolute path for a child account.

    Regards,
       Barry R.

    * EDITED *
    Replaced app with appname to be more clear.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 07-04-2008 1:05 AM In reply to

    Re: GetOptimalUrls with Application Account

     Thanks!  I was only using 1 / before the application name.  Using // solved it.

Page 1 of 1 (3 items)