WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Keep fixed the number of items displayed

[Resolved] Keep fixed the number of items displayed

Viewing 6 replies - 1 through 6 (of 6 total)
  • Interesting; I only have one widget, and it only shows recent tweets when the number being requested is greater than 1… Might be related.

    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.

    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.

    Plugin Author Aaron D. Campbell
    Participant

    @aaroncampbell

    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.

    Mr_Cre8ive
    Member

    @jeremyjeremyryanbiz

    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?

    Mr_Cre8ive
    Member

    @jeremyjeremyryanbiz

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Keep fixed the number of items displayed’ is closed to new replies.