• Resolved pointlamike

    (@pointlamike)


    We used your widget on our site educate2impact.org last year and it worked great. All of a sudden the widget is saying, “Problem retrieving data from Twitter” then “No Tweet results for search educate2impact”. When you click on the hyperlink it shows for educate2impact there are a bunch of tweets from last year. Is there some sort of time limit on the search?

    https://www.ads-software.com/plugins/rotatingtweets/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Martin Tod

    (@mpntod)

    This is a strange feature of Twitter. The search on the API covers a shorter period than search on the site itself.

    The only fix might be to add the old tweets to a favourites list and use that instead.

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    PS: I will be changing a future version to continue storing previously identified tweets even if the Twitter Search API returns a zero result…

    Sorry to post to a resolved ticket, but I was actually considering adding this exact feature to your plugin. Have you begun development on this feature already? If you don’t mind me asking, do you have a rough idea (days, weeks, months?) when you may have it released?

    If not, do you accept patches? ??

    Thanks for all the great work!

    – Dan

    Plugin Author Martin Tod

    (@mpntod)

    I haven’t started on this yet. It’s the kind of thing that will consume a weekend (or two). I’ve got a busy couple of months coming up, so realistically it probably wouldn’t happy until May.

    A function that combines the cached tweet object with the newly downloaded tweet object if it delivers fewer than the requested number of tweets would probably be the starting point.

    I’m certainly open to patches… although I’d probably have tried to write tidier code if I thought anyone might be interested in patching it!

    Thank you for the thanks!

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    Hi Dan,

    I’ve had a go at a solution in the development version. Does it work for you?

    Best wishes,

    Martin

    Hi Martin

    I have the same problem, tweets older than a 2 weeks or so are not shown. I have retweetet them for now. (https://www.pmi-netherlands-summit.com/)
    I downloaded the development version and installed it… but no the older tweets are not shown.

    We use the search option. (#pmisumnl)

    Tried Verify SSL connection to Twitter on and of.
    Tried to load java in header and footer.
    Tried java 1 and 2 and none (own).

    Still a very good plugin, working on 18 of our sites now. ??

    Plugin Author Martin Tod

    (@mpntod)

    The way it’s set up, it should gradually build up the list of older tweets over time (although I haven’t worked out exactly how to test this!) – by adding on new tweets to previously identified tweets over time. Unfortunately, it’s not able to go back in time and pull in older ones that the Twitter API isn’t returning now.

    Your ‘retweet’ approach should work – as should the similar ‘favorite’ approach.

    Thx again for the quick respone.

    I understand, will keep it running and will give response if necessary ??

    Hi Martin,

    Awesome plug-in. I too am trying to display a list of testimonials from followers on twitter. I tried to use the favorites list workaround to use older results but I can display either favorites or a list, not the combination of the two. When I display a list, it shows all of the tweets from every person added to that list. When I display favorites, it shows all the favorites I’ve ever given… which is quite a few. Is there a way combine the two so that only favorites from a specific list are displayed? This way I could create a list of every follower that has given a nice testimonial and then the plug-in would only display the tweets from that list that I have favorited.

    Hope that makes sense!

    My site is fullratchet.net.

    Thanks!

    -Nick

    Plugin Author Martin Tod

    (@mpntod)

    I can’t see a way to do that I’m afraid. Unfortunately, you can’t access favorites via the search function.

    Your best bet might be to construct a search via this page – and then use it as a search option.

    Thanks for the reply, Martin!

    Yes, I did construct a search on the advanced page. It is a great way to pull what I’m looking for. However, the Rotating Tweets plug-in only pulls the most recent ~6 tweets. I am thinking this is due to the API and issue pulling tweets from later dates that you’ve discussed above in this thread.

    Plugin Author Martin Tod

    (@mpntod)

    It is because of the API.

    There is some code which means that the number of tweets should increase over time – since, where there are less than 40 tweets, it adds newly downloaded tweets into the cache without deleting the old ones.

    So hopefully, it will, in time, solve your problem! ??

    Hi Martin,

    I was able to figure out a workaround. I added another Twitter account and favorited all of the tweets that I wanted to show in the “Listener Feedback” rotation. It does max out at 30, but I picked the top 30. So, I just added this handle to the rotating tweets plug-in widget and do not display the handle. Seems to work great! You can check it out at fullratchet.net

    Now, I’m just trying to figure out if there’s a way to randomize those thirty tweets, so that they don’t show up in the same order every time. Thoughts on this?

    Thanks!

    Nick

    Plugin Author Martin Tod

    (@mpntod)

    I’ve just added an option to the development version. If you put shuffle=1 in your shortcode, it should randomise the tweets.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘No Tweet results for search’ is closed to new replies.