My Twitter Widget Isn’t Working!!


Dude I fought with my Twitter account thinking it was set to be on private and not public. Then I thought maybe it was just an update I made to my WordPress build. After fighting with 4 different websites that I maintain for clients I realized that Twitter had changed their API code. I must have sifted through dozens of forums and blog postings all dating back 3 to 4 years ago! I couldn’t find an article posted on this in 2012 until searching through a forum and seeing a glorious link at the bottom of the page.

So I will share with you the secret line of code I found that is needed to be changed in order to get your widgets to work in WordPress or any HTML based code for that matter.


All non-versioned API endpoints will go away. Though you may occasionally find these endpoints responding as we ramp down, expect them to be gone in two weeks. This list includes:

-All API endpoints on and

-Endpoints on without /1, /1.1 or /oauth in the fully qualified URL.

-We’ll be removing support for the public timeline:

This caused the Twitter Feed to not load. The fix involves tweaking one line of twitter-widget.php

/wp-content/themes/XXXXX/include/plugin/custom-widget/twitter-widget.php (This plugin came packaged in the theme)

Find this line

Click to View Code

Change to this

Click to View Code

The code above will also work if you are working with a theme where the Twitter widget or functionality is built into the theme. Instead of  going into the plugin folder on the server you will be going into your themes folder and searching for an asset php file labeled widgets or twitter.php. The code will be slightly different but mostly you just need to search for the twitter URL and copy and paste the above.


    I am just wondering cause I got this phone recently and discovered a few cool things. If you know any can you list them and how to do them? Thanks in advance.

    July 23, 2013 Reply
  • skillz

    Okay so we recently had a blackout and I was on the computer at the time. After the blackout things haven’t been working on my account as well. When I go on the internet logos and some other things aren’t showing up. Like on Google the Google Logo is missing and I have a google account and my background picture won’t show up even though I changed it. And on Facebook when I chat to people I can’t see who’s online and offline because the online and offline symbols are missing. And my twitter background doesn’t show up either. Even my email account is missing some things. And when I go on some social networking sites some profile pictures are blocked. And there’s nothing wrong with the profile pictures at all. In fact right now my profile picture on yahoo isn’t showing up…but it shows up when I’m on my dad’s account. It’s not just the internet. On my screensaver I had the slide show widget and all the pictures were blocked on that too. This is only happening on My account. I checked my Dad’s account and Nothing is missing. It’s only on mine. I even tried making a new account on the computer and the same things happened to those. My dad’s account is the only one that’s okay. This all happened after one small blackout. Can someone tell me what’s going on and how to fix it please?

    July 25, 2013 Reply
  • Duke

    I work for a nonprofit and I’m trying to set up something where a visitor can automatically tweet a specific phrase from our blog. For example

    “One in two men will get cancer in their lifetime” Tweet this fact now.

    Anyone know of any widgets or other ways to do this?

    July 25, 2013 Reply

Leave a Comment