• Resolved redsundesign

    (@redsundesign)


    I’ve created a Twitter app, entered the required API keys in the WP admin area and can successfully show tweets from any one of three accounts, but when I try more than one I get the error “Problem retrieving data from Twitter”.

    Tried the example accounts you supplied in a previous support request screen_name='mpntod winacc' and it worked fine. Stumped!

    Also can’t figure out how to get the profile image to show.

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

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

    (@mpntod)

    Has either account tweeted recently? The Twitter search function used by Rotating Tweets for multiple accounts only looks back a few days.

    Are both spelled correctly?

    Does any extra information show up in your HTML source?

    You get the profile image via using official_format=1 in your shortcode.

    Thread Starter redsundesign

    (@redsundesign)

    Apologies re the profile image – this is now working. Tried the official_format=1 previously but must have made a basic error.

    Both account names are spelled correctly and there’s no extra info in the source code. If I use them individually then there’s no problem at all.

    The three accounts last tweeted on Nov 13, Nov 13 and Nov 19 – could that be the cause of the issue? They seem to have a flurry of Twitter activity and then go silent for a couple of weeks.

    Is it possible to point me to the relevant lines in the source code so I could change the value for how far back we look for activity?

    Plugin Author Martin Tod

    (@mpntod)

    That is the problem.

    Currently the multiple account function uses the API search capability to find Tweets – but that only has a window of about a week. Unfortunately, that’s not in my code: that’s in Twitter’s code!

    Once Rotating Tweets has pulled in some Tweets, it caches them so they don’t disappear when they drop out of Twitter’s search – so the flurry/silent approach to Tweeting won’t be a problem once the cache is full.

    When I get time, I need to rewrite the function to pull in each timeline individually and then combine them – but that will be quite a bit of work!

    Sorry about that. It’s on the to-do list!

    Thread Starter redsundesign

    (@redsundesign)

    Really appreciate you taking the time to get back to me. The short term solution would be to encourage all three twitter accounts to start tweeting madly then.

    Many thanks for developing the plug-in. I love the fact I can finally have some proper control over the CSS, and the use of Cycle 2 is great (my favourite jQuery slideshow plug-in ever).

    Plugin Author Martin Tod

    (@mpntod)

    The only other thing I need to do now is implement the new ‘heart’ icon! (But don’t worry – it will be optional!) ??

    Plugin Author Martin Tod

    (@mpntod)

    The development version should fix this now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem showing tweets from multiple acounts’ is closed to new replies.