ng-twitter
ng-twitter copied to clipboard
How would I use this through Ionic's Proxy to bypass CORS?
I have set up my proxy as such:
"proxies": [
{
"path": "/api",
"proxyUrl": "https://api.twitter.com/1.1/search/tweets.json"
}
I have also edited the search URL to match the proxy:
var SEARCH_TWEETS_URL = '/api';
But I get a 404, as I'm not sure if it's building the request URL correctly.
Hello did you find out how to solve your issue ? I'm getting the same whereas I set a proxy :
{
"path": "/twitter/",
"proxyUrl": "https://api.twitter.com/"
}
Thanks in advance
@desirelabs Sorry no, I gave up on this.