ng-twitter icon indicating copy to clipboard operation
ng-twitter copied to clipboard

How would I use this through Ionic's Proxy to bypass CORS?

Open CyrisXD opened this issue 8 years ago • 2 comments

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.

CyrisXD avatar Oct 19 '16 04:10 CyrisXD

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 avatar Jan 05 '17 12:01 desirelabs

@desirelabs Sorry no, I gave up on this.

CyrisXD avatar Jan 06 '17 05:01 CyrisXD