DevBuddy Twitter Feed
Error from class.twitter-feed.php line 426 when trying to display by search term (4 posts)

  1. rstheadmin
    Posted 1 year ago #

    Curious as to why when I try to display tweets by a search term #rSTHECON i am getting a warning message. "Invalid argument supplied for foreach() in ../class.twitter-feed.php on line 426" and nothing at all is being displayed in the area i have the short code placed. Using the widget to display as a user works just fine, unfortunately I need it for the display by search teram ability only. I have checked and if i search the term on Twitter plenty of posts come up there. do you have any ideas or advice?


  2. EjiOsigwe
    Plugin Author

    Posted 1 year ago #

    Pretty bizarre.

    I've tried it myself and it doesn't seem to want to work with that particular search term. I'm going to look into this, see if I can at least find any others that act this way and figure out a pattern.

    Once I've done that I should be able to implement and roll out a fix sharpish.

    Thanks for letting me know. I'll keep you posted.

  3. venethia
    Posted 1 year ago #

    Same problem.

  4. EjiOsigwe
    Plugin Author

    Posted 1 year ago #

    I think I've got it.

    According to the Twitter API documentation, using the API for a search restricts your search to tweets posted up to a week ago.

    The reason you're getting the error is because the plugin's code didn't accommodate for such an occurrence. I've now updated the code to reflect this and an update should be rolling our shortly.

    Regretfully, I can't do any more than shed light on the restriction: it's beyond my authority.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • DevBuddy Twitter Feed
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.