title: Twitter feed has stopped working, Access-Control-Allow-Origin
body: <p>This is my site here:</p>
  
  <p><a href="http://www.incomebrokers.com" rel="nofollow">Income Brokers</a></p>
  
  <p>Up until recentley my Tweets where displaying fine, however now I am getting this error in the console:</p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load
    <a href="http://www.incomebrokers.com/js/get_tweets.php" rel="nofollow">http://www.incomebrokers.com/js/get_tweets.php</a>. Origin
    <a href="http://incomebrokers.com" rel="nofollow">http://incomebrokers.com</a> is not allowed by
    Access-Control-Allow-Origin.</p>
  </blockquote>
  
  <p>I don't know why it has just stopped working...Can anyone help me out?</p>
  
  <p>This is my <code>get_tweets.php</code> script:</p>
  
  <pre><code>session_start();
  require_once('twitteroauth/twitteroauth/twitteroauth.php');
  $twitteruser = "xxxxxxx";
  $notweets = 30;
  $consumerkey="xxxxxxxxxx";
  $consumersecret="xxxxxxxxxxxxxxx";
  $accesstoken="xxxxxxxxxxxxxxxxxxxxx";
  $accesstokensecret="xxxxxxxxxxxxxxxxxxxxxxxxxx";
  
  function getConnectionWithAccessToken($cons_key, $cons_secret, $oauth_token, $oauth_token_secret){
  
      $connection = new TwitterOAuth($cons_key, $cons_secret, $oauth_token, $oauth_token_secret);
  
      return $connection;
  
  }
  
  $connection = getConnectionWithAccessToken($consumerkey, $consumersecret, $accesstoken, $accesstokensecret);
  
  $tweets = $connection-&gt;get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$twitteruser."&amp;count=".$notweets);
  
  echo json_encode($tweets);
  </code></pre>