title: React giving me 403 forbidden error when making an API call
body: <p>I am using react to switch images using the <code>Snoowrap</code> Reddit api wrapper. When I use this function just using Node.js and the app module it works normally:</p>
  
  <pre><code>reddit.getSubreddit('pics').getRandomSubmission().then(function(post){
         return(post.url.toString());
       });
  </code></pre>
  
  <p>This is what the function looks like with my normal NodeJS app this code here works 100% fine</p>
  
  <pre><code>app.get('/getimage', function(req, res){
    r.getSubreddit(subreddit).getRandomSubmission().then(function(post){
      if(post.url.includes(".jpg") || post.url.includes(".png")){
        res.send(post.url);
        res.end();
      }
      else{
        res.send("No picture extension as .jpg .png")
        console.log("No .jpg Extension");
      }
  });
    console.log("Pressed!");
  });
  </code></pre>
  
  <p>This code here gives me an unhandled 403 rejection Error I downloaded the chrome browser CORS header extension and it fixed the<code>Access-Control-Allow-Origin</code> error but now its giving me a 403 error</p>
  
  <pre><code>getPic: function() {
       reddit.getSubreddit('pics').getRandomSubmission().then(function(post){
         return(post.url.toString());
       });
  
  
     },
  </code></pre>