Page 1 of 1

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Mon Feb 10, 2014 10:09 pm
by Find Deniro

I coded the twitter search app according to the twitter search app tutorial with oauth2. However when I test and debug I notice that the service calls are getting below errors from twitter:

OPTIONS https://api.twitter.com/oauth2/token 405 (Method Not Allowed) jquery-1.8.2.js:8416

OPTIONS https://api.twitter.com/oauth2/token No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not allowed access. jquery-1.8.2.js:8416

XMLHttpRequest cannot load https://api.twitter.com/oauth2/token. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not allowed access. startScreen.html:1

Even when I use the proxy, it does not seem to work. Could you please help. Here's my app link:
http://appery.io/app/project/4530c323...


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Mon Feb 10, 2014 10:56 pm
by Illya Stepanov

Hello --

We'll take a look, but it will take some time.


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Tue Feb 11, 2014 3:51 pm
by Find Deniro

Waiting eagerly, thanks


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Tue Feb 11, 2014 4:42 pm
by Kateryna Grynko

Hi,

This should work via proxy. Please make sure you correctly specify a number of proxy channel in 'Use Appery.io Proxy' option.


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Tue Feb 11, 2014 8:27 pm
by Find Deniro

I tried two channels, but did not work. Do I need to do anything to enable the proxy channel?


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Tue Feb 11, 2014 8:28 pm
by Find Deniro

I tried two channels, but did not work. Do I need to do anything to enable the proxy channel?


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Tue Feb 11, 2014 8:30 pm
by Find Deniro

Oh, I removed the "Channel-" prefix and it works. Thank you!


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not

Posted: Tue Feb 11, 2014 8:54 pm
by Kateryna Grynko

Glad it's working!