Twitter Widget Throwing 403 errors



I noticed the Twitter Widget we have on our site is throwing a 403 error:

GET 403 (Forbidden)

And when I click on that CDN link I see this JSON:

twttr.setFriendshipExists({"error":"Following information is not available for protected users without authentication.","request":"\/1\/friendships\/exists.json?user_a=14864637&screen_name_b=WebcasterNews&callback=twttr.setFriendshipExists"})

Do you guys know what could be causing this? I read that it could be triggered if the account is protected but our Twitter account isn’t protected:

Any ideas? I would provide a URL to our site but it’s in development and it’s protected by HTTP authentication (so i’m wondering if that’s a factor? Although, we hadn’t had a problem with other third-party services before while using HTTP authentication).

Also , here’s what the code looks like in the source:

 <!-- Start Twitter Widget -->
<h4 class="right-rail-heading">
  Follow Us!
<a class="twitter-timeline" href="" data-widget-id="350720273730904064">Tweets by @WebcasterDev</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- End Twitter Widget -->
  • Steve


I think in this case it’s that the user who is viewing the timeline is protected… (in this case, you). Have you tried looking while logged in as a different account or not at all? Does the HTTP 403 cause the widget not load or otherwise degrade the experience?