Support » Plugin: oAuth Twitter Feed for Developers » Loading someone elses tweets / spam in timeline
3 years, 2 months ago
In today’s 2.1+ release(s), we changed the supported way of calling the plugin to username, then count, so:
We maintain backwards compatibility, by checking if $username is an integer, if it is, we swap around your input because you must be using the old syntax.
However, if you passed in an integer as a string (for example, ‘5’, rather than 5), we don’t detect that, and you’ll start loading @5‘s tweets rather than your intended users.
You need to edit the code to call getTweets($username, $count) to fix this (and make sure you pass count in as an integer).