WordPress.org

Ready to get started?Download WordPress

Forums

oAuth Twitter Feed for Developers
Loading someone elses tweets / spam in timeline (1 post)

  1. Liam Gladdy
    Member
    Plugin Contributor

    Posted 7 months ago #

    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).

    http://wordpress.org/plugins/oauth-twitter-feed-for-developers/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.