Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

OAuth working from PB?

Has anyone been able to get OAuth to work from the playbook?  Seems to work OK in an AIR application, but getting a token URLLoader request, I get 401 status error.

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

Re: OAuth working from PB?

There are some software issues that can just drive you nuts, slightly salted.

 

If you're going to do an OAuth interface, 2 things to watch out for:

  1. It only seems to work on the PB if you make requests via a proxy.
  2. The time on the simulator does not play nice with the oauth_timestamp parameter.  Adding 10000 to the timestamp seems to fake it out to allow the request.

All this is not needed in an AIR environment.

Please use plain text.