Re: [twitter-dev] Oauth authentication just run in IE .. Why?

2009-12-09 Thread srikanth reddy
If you are developing w3c widget on opera platforms( i don't think it is
supported on other platforms yet) they do allow cross domain scripting. Just
look at their security configuration for widgets.

On Wed, Dec 9, 2009 at 11:40 PM, Daniel Silva
wrote:

> I do understand that in a web application that problem may occur, however
> I'm developing a w3c widget, and so, I  don't have any associated domain.
> How can I authenticate a w3c widget using Oauth with javascript?
>
> 2009/11/30 Raffi Krikorian 
>
> i think that's the problem - you can't make an ajax request to a server
>> that is not hosting the HTML/Javascript that you are loading in the browser
>> (look for "same origin 
>> policy").
>>  it *may* be possible to do it using jsonp, but i haven't tried it
>> myself.
>>
>> Yes, it is. I'm using this Oauth API
>> http://oauth.googlecode.com/svn/code/javascript/oauth.js
>>
>> is this a cross domain ajax request issue?
>>>
>>>  I'm doing Oauth authentication for my application and it run's well in
 IE. When i change to Firefox, Safari or Opera this error appears
 "[Exception... "Component returned failure code: 0x80004005
 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
 (NS_ERROR_FAILURE)"  location: "JS frame :: " when I'm sending the
 tokens for application.

 Why this append?

 thanks for the help..

 best regards,
 Daniel

>>>
>>  --
>> Raffi Krikorian
>> Twitter Platform Team
>> ra...@twitter.com | @raffi
>>
>>
>>
>>
>>
>
>
> --
> regards,
>
> Daniel Silva
>


Re: [twitter-dev] Oauth authentication just run in IE .. Why?

2009-12-09 Thread Daniel Silva
I do understand that in a web application that problem may occur, however
I'm developing a w3c widget, and so, I  don't have any associated domain.
How can I authenticate a w3c widget using Oauth with javascript?

2009/11/30 Raffi Krikorian 

> i think that's the problem - you can't make an ajax request to a server
> that is not hosting the HTML/Javascript that you are loading in the browser
> (look for "same origin 
> policy").
>  it *may* be possible to do it using jsonp, but i haven't tried it myself.
>
> Yes, it is. I'm using this Oauth API
> http://oauth.googlecode.com/svn/code/javascript/oauth.js
>
> is this a cross domain ajax request issue?
>>
>>  I'm doing Oauth authentication for my application and it run's well in
>>> IE. When i change to Firefox, Safari or Opera this error appears
>>> "[Exception... "Component returned failure code: 0x80004005
>>> (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
>>> (NS_ERROR_FAILURE)"  location: "JS frame :: " when I'm sending the
>>> tokens for application.
>>>
>>> Why this append?
>>>
>>> thanks for the help..
>>>
>>> best regards,
>>> Daniel
>>>
>>
> --
> Raffi Krikorian
> Twitter Platform Team
> ra...@twitter.com | @raffi
>
>
>
>
>


-- 
regards,

Daniel Silva


Re: [twitter-dev] Oauth authentication just run in IE .. Why?

2009-11-29 Thread Raffi Krikorian
i think that's the problem - you can't make an ajax request to a  
server that is not hosting the HTML/Javascript that you are loading in  
the browser (look for "same origin policy").  it may be possible to do  
it using jsonp, but i haven't tried it myself.



Yes, it is. I'm using this Oauth API 
http://oauth.googlecode.com/svn/code/javascript/oauth.js

is this a cross domain ajax request issue?

I'm doing Oauth authentication for my application and it run's well in
IE. When i change to Firefox, Safari or Opera this error appears
"[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame :: " when I'm sending the
tokens for application.

Why this append?

thanks for the help..

best regards,
Daniel


--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi






Re: [twitter-dev] Oauth authentication just run in IE .. Why?

2009-11-29 Thread Daniel Silva
Yes, it is. I'm using this Oauth API
http://oauth.googlecode.com/svn/code/javascript/oauth.js

2009/11/29 Raffi Krikorian 

> is this a cross domain ajax request issue?
>
>
>  I'm doing Oauth authentication for my application and it run's well in
>> IE. When i change to Firefox, Safari or Opera this error appears
>> "[Exception... "Component returned failure code: 0x80004005
>> (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
>> (NS_ERROR_FAILURE)"  location: "JS frame :: " when I'm sending the
>> tokens for application.
>>
>> Why this append?
>>
>> thanks for the help..
>>
>> best regards,
>> Daniel
>>
>
> --
> Raffi Krikorian
> Twitter Platform Team
> ra...@twitter.com | @raffi
>
>
>
>
>


-- 
Cumprimentos,

Daniel Silva


Re: [twitter-dev] Oauth authentication just run in IE .. Why?

2009-11-29 Thread Raffi Krikorian

is this a cross domain ajax request issue?


I'm doing Oauth authentication for my application and it run's well in
IE. When i change to Firefox, Safari or Opera this error appears
"[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame :: " when I'm sending the
tokens for application.

Why this append?

thanks for the help..

best regards,
Daniel


--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi