Loading someone elses tweets / spam in timeline
-
Hey folks,
In today’s 2.1+ release(s), we changed the supported way of calling the plugin to username, then count, so:
getTweets($username, $count);
rather than:
getTweets($count, $username);
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).
https://www.ads-software.com/plugins/oauth-twitter-feed-for-developers/
- The topic ‘Loading someone elses tweets / spam in timeline’ is closed to new replies.