WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Widget Pro
[resolved] Keep fixed the number of items displayed (7 posts)

  1. Andrés Sanhueza
    Member
    Posted 1 year ago #

    I use 3 widgets on a same page, and although I set all to show 5 items, the last twits shown on each widget are only the ones made on a undetermined amount of recentness, so if someone hasn't twitted recently, it may only show 3 or even 1. Is there a way to keep it somewhat consistent?

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  2. aendrew
    Member
    Posted 1 year ago #

    Interesting; I only have one widget, and it only shows recent tweets when the number being requested is greater than 1... Might be related.

  3. Andrés Sanhueza
    Member
    Posted 1 year ago #

    It could also be related to the fact if one disable showing some kind of twitts, like replies or RT, but I'm not sure.

  4. niroc
    Member
    Posted 1 year ago #

    I am using only one instance of Twitter Widget Pro but have noticed that older tweets seem to expire and disappear. I've set it to display 4, but today there are only the 2 most recent ones left. I can't find any setting to adjust to stop this happening.

  5. Aaron D. Campbell
    Member
    Plugin Author

    Posted 1 year ago #

    Unfortunately, this is a place where the Twitter API sucks. Basically, if you exclude replies it removes those AFTER it grabs the number of tweets you want, and returns whatever's left. So if you want 5 tweets and 3 of your most recent tweets are replies, it will only give you two. You can see the API docs here:
    https://dev.twitter.com/docs/api/1/get/statuses/user_timeline#api-param-exclude_replies

    I used to pull a bunch of extra tweets and then throw a bunch out, but it wasn't near as efficient. Now that I'm using a built-in caching system I could probably go back to that, but I don't know when I'll have time to do so.

  6. Mr_Cre8ive
    Member
    Posted 1 year ago #

    Same issue... I have excluded nothing; I've chosen 5 items to display, but only 1 or 2 recent tweets are showing in the widget. Thoughts?

  7. Mr_Cre8ive
    Member
    Posted 1 year ago #

    Disregard. It's working now. Cyber Gremlins!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.