MySpace Developer Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

OAuth on makeRequest() call...

Last post 04-14-2008 9:33 AM by John. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-11-2008 6:07 AM

    • James
    • Top 500 Contributor
    • Joined on 02-26-2008
    • Posts 5

    OAuth on makeRequest() call...

    Hey everyone.

    I started my app in Javascript, and was using a few makeRequest calls to retrieve data from my server.  I enabled OAuth on these requests by using the following code:

    var params = {};
    params[opensocial.ContentRequestParameters.AUTHENTICATION] = opensocial.ContentRequestParameters.AuthorizationType.SIGNED;
    opensocial.makeRequest(url, callback, params);

     

    I've tried the same thing using the Flex library, but no luck!  I'm not getting the Oauth signature sent.   

    Does anyone know how I'd achieve the same thing in Flex that I was doing in Javascript?  Is it a supported feature right now?

    Thanks!

  • 04-14-2008 9:33 AM In reply to

    • John
    • Top 75 Contributor
    • Joined on 02-27-2008
    • Posts 36

    Re: OAuth on makeRequest() call...

    Perhaps the problem is you should be using the gadgets.io namespace instead of opensocial? Its possible the values you are using are not defined in the Flex library.

Page 1 of 1 (2 items)