Re: [twitter-dev] Re: Oauth authentication jquery

2010-01-06 Thread Mark McBride
You currently can't. Well, at least not in a standard way. The entity making the request has to know the secret. If that entity is the browser, then it has to know the secret. You might be able to do something with gears or other offline storage I guess. ---Mark http://twitter.com/mccv

Re: [twitter-dev] Re: Oauth authentication jquery

2010-01-06 Thread Daniel Silva
But how can I made Oauth authentication without exposing my secret key with javascript? I need to make a http request with secret key, or not? 2009/12/31 Phil Plante > All that aside, the other problem would be exposing your secret key. > I am sure you can imagine how terribly bad that can end u

[twitter-dev] Re: Oauth authentication jquery

2010-01-01 Thread Phil Plante
All that aside, the other problem would be exposing your secret key. I am sure you can imagine how terribly bad that can end up... On Dec 30, 10:57 pm, Hari wrote: > Is it a case of same origin > policyhttp://en.wikipedia.org/wiki/Same_origin_policy > > On Dec 10, 8:27 am, Daniel Silva wrot

[twitter-dev] Re: Oauth authentication jquery

2009-12-30 Thread Hari
Is it a case of same origin policy http://en.wikipedia.org/wiki/Same_origin_policy On Dec 10, 8:27 am, Daniel Silva wrote: > When I trying to do Oauth authentication with jquery it always receives a > empty response. I'm doing this: > > $.ajax({ >    beforeSend: function(xhr) { >      xhr.set