Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ove Andersen 435 posts 1541 karma points c-trib
    Jul 15, 2010 @ 23:56
    Ove Andersen
    1

    Change the way it retrieves the tweets

    Right now, it gets the specified number of tweets, and then it checks whether they are replies or normal tweets. If you turn off the option Display Replies, it can in theory (on my site it is in practice) show nothing at all.

    So if you display 5 tweets on the website, and the last 5 tweets are replies, nothing is shown.

    I know the twitter api is part of this problem, but maybe you can make find a different solution.

    Out of my head I can think of two solutions:

    1. Get the maximum of 200 tweets and the get the latest x based on settings.
    2. Make a check to see if the twitter api returned the number of tweets specified in the settings. If not, get more until the setting is satisfied.

    Otherwise it's a great app! Good work!

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jul 20, 2010 @ 19:10
    Warren Buckley
    0

    Hiya Ove,
    The fix for this is what you suggested in that I pull the 200 tweets down from the API and then filter them against our count.

    Is this a good solution to you, if so I can wrap up the fix and get it rolled out soon and make a quick screencast to promote this.

    Warren :)

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jul 22, 2010 @ 17:36
    Warren Buckley
    0

    Hiya Ove,
    This has been resolved as you have suggested.

    Warren :)

  • Ove Andersen 435 posts 1541 karma points c-trib
    Jul 23, 2010 @ 10:16
    Ove Andersen
    0

    You are my hero, Warren. :)

    Thanks!

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Jul 23, 2010 @ 10:19
    Warren Buckley
    0

    No worries, glad that I could help :)

Please Sign in or register to post replies

Write your reply to:

Draft