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:
Get the maximum of 200 tweets and the get the latest x based on settings.
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.
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:
Otherwise it's a great app! Good work!
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 :)
Hiya Ove,
This has been resolved as you have suggested.
Warren :)
You are my hero, Warren. :)
Thanks!
No worries, glad that I could help :)
is working on a reply...