Support » Plugin: News Bar Plus » Needs review
4 years, 5 months ago
Twitter posts and social icons/links no longer display
I’m getting this same issue. The Twitter messages now just have “Messages Not Found.” with no way to fix them. Any solutions for this? A plugin update, maybe?
Ok, I pretty much just Googled the RSS issue with Twitter and figured it out. Twitter changed their link to the RSS feed. You just need to change one line of code and the plugin will work fine.
Go to your plugins folder > news-bar > includes > get-news.php
Go to line #50, it should look like this:
$messages = fetch_rss( 'http://twitter.com/statuses/user_timeline/' . $username . '.rss' );
You want to change it to this:
$messages = fetch_rss( 'https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=' . $username );
New Twitter link and remove the “.rss” at the end. Here is the link to the dev forum where I found this:
4 years, 2 months ago
Got a better one – in News Bar, go to the bit where you would put in your Twitter username and instead put in this https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=username
Change username to your desired twitter account name and change the setting to RSS Feed – works. And it means not having to muck around with the code of the plugin