A way to make TB display tweets from diffent tags evenly?

  • Question
  • Updated 4 years ago
I am currently using Tweet Blender (tags as keyword) as a WP widget in the sidebar of my blog posts.
Many of my current blog posts contain "Wordpress" as a tag, but others have "analytics", "catering" etc. as their tags.
However, no matter which blog post I am viewing, it is only "wordpress" related tweets that are being shown.

I was under the impression that Tweet Blender used the tags of the individual post to create a unique collection of tweets related to that post... So I guess my question now is, am I wrong?

It sounds as if it might be related to this question: http://getsatisfaction.com/tweet_blen...

But if the answer;
"In the past, when some users experienced similar issus it turned out to be that posts for one of the tags were the most recent ones and only they showed up as older posts for other tags were pushed off the screen."
may be what I am suffering from, I would like to know, if there is way to evenly display tweets from each tag (as long as there are tweets available for each tag) even though it means that some non-displayed tweets may be newer?

EDIT: Actually the above still goes for for blog posts where the tags "analytics" and "wordpress" are assigned, but how come I am seeing tweets related to "wordpress", when I am viewing a blog post which doesn't use the tag "wordpress"?
Photo of Esben RasmussenER

Esben Rasmussen

  • 15 Posts
  • 0 Reply Likes
  • unsure

Posted 4 years ago

  • 1
Photo of Kirill N

Kirill N

  • 184 Posts
  • 32 Reply Likes
Hello Esben,
Thanks for bringing this to my attention!

I created a throttling feature for screen names to show an X number of tweets per user. That was intended to help with a case where one user tweets very frequently and others don't get any screen time.

Sounds like a similar feature is needed for keywords/tags. The issue with this is that all the keywords are grouped together into a single query (to save on API calls) and when search results come back it's hard to see which keyword they are for. Some results might include just one of the tags, others might include all of the tags.

To deal with that I'll have to execute a single API call for each of the tags and that would require considerable code restructuring. I'll add it to my TODO by most likely won't be able to address it for another 2-3 weeks.
Photo of Esben RasmussenER

Esben Rasmussen

  • 15 Posts
  • 0 Reply Likes
Hi Kirill

Sounds great that you are adding it to the TODO list. But to be sure I understand you correctly:

Are you saying that by restructuring the code and create individual API calls per tag it will also fix the problem of "wordpress" related tweets being shown for posts which doesn't use the tag "wordpress"?
Photo of Kirill N

Kirill N

  • 184 Posts
  • 32 Reply Likes
Esben,
The "wordpress" tag issue could be related to the tags in use. Can you post a url where I can see it? I can't seem to reproduce it in my development environment.
Photo of Esben RasmussenER

Esben Rasmussen

  • 15 Posts
  • 0 Reply Likes
Hi again

Here's one example of a blogpost not using the keyword "wordpress" but still showing tweets related to wordpress: http://www.onlinekonsulenten.dk/personligt/facebook-events-kdebreve-spammere-og-social-engineering/
Photo of Kirill N

Kirill N

  • 184 Posts
  • 32 Reply Likes
Esben, the widget shown on that page does not seem to be Tweet Blender for Tags; instead, it is a regular Tweet Blender widget with the following sources #UX,#gaanalytics,#wordpress,@googleanalytics,@mattcutts,@googlewmcand the tweets shown in it appear to be correct for these sources. Please check it under WP Admin > Appearance > Widgets
Photo of Esben RasmussenER

Esben Rasmussen

  • 15 Posts
  • 0 Reply Likes
Sorry about that. Forgot to change back. It is now the correct widget - with the same problem.
Photo of Kirill N

Kirill N

  • 184 Posts
  • 32 Reply Likes
Thanks! I checked on the tweets and all of them match the sources defined via tags. Currently the sources on that page are event,Facebook,spam,venner and all the tweets shown have at least one of these keywords (mostly "Facebook"). They also have "wordpress" in them but that's not the matching keyword and widget is not searching on that word. Do you have a specific tweet that you think is out of place?
Photo of Esben RasmussenER

Esben Rasmussen

  • 15 Posts
  • 0 Reply Likes
Actually now that you mention it, I can see, that the displayed tweets all contain the tags... I think I was just blinded by the fact that all of the tweets has wordpress as subject.

At the moment I have solved the "problem" by filtering out "wordpress" in the admin settings of the widget. But now it just says that no tweets are found - which I don't doubt. :o(

However, this leads me to another idea:

I have written blog posts about plugins to wordpress, and I still would like those posts to show tweets based on the "wordpress" tag. Could you consider implementing a whitelist on the posts page for wp-admin, where you can override the universal filter?

Also it would be nice, if I could chose a fall back state of the Tweet Blender for Tags widget if no tweets are found for the tags. Eg. if no tweets are found act as if it is the normal WP-widget... or supplement it with a text field on the posts page for wp-admin where one can enter a single text that should display instead.

Hmm... Long answer. I just discovered that this post: http://www.onlinekonsulenten.dk/wordpress/kampagnesporing-til-din-twitter-knap-wp-tweet-button/ doesn't see "google analytics" as a tag - why not (i have only filtered out "foursquare" and "wordpress")?
Photo of Kirill N

Kirill N

  • 184 Posts
  • 32 Reply Likes
I'll add ability to specify a fallback list of keywords for the tags widget. As far as the second issue - currently multiple keyword queries are not supported to the widget won't work for "google analytics". This is one of the high priority improvements on my TODO list.
Photo of Esben RasmussenER

Esben Rasmussen

  • 15 Posts
  • 0 Reply Likes
Thank you very much for helping out.

Although I would very much urge you to consider the whitelisting option per blog post, so that the universal filter can somehow be overridden when needed for specific blog posts.