Find Deniro
Posts: 0
Joined: Mon Feb 10, 2014 10:09 pm

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

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...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

Hi,

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

Find Deniro
Posts: 0
Joined: Mon Feb 10, 2014 10:09 pm

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

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

Find Deniro
Posts: 0
Joined: Mon Feb 10, 2014 10:09 pm

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

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

Find Deniro
Posts: 0
Joined: Mon Feb 10, 2014 10:09 pm

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

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

Return to “Issues”