ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Twitter Timeline plug-in: is it possible to have multiple users in one timeline?

June 05, 2011 1:33pm

Subscribe [2]
  • #1 / Jun 05, 2011 1:33pm

    gazaston

    128 posts

    Here’s my code at the moment:

    {exp:channel:entries channel='profile'}
    
    {exp:twitter_timeline screen_name="{twitter-name}" limit="5" twitter_refresh="15" create_links="user_mentions|hashtags|urls" use_stale_cache="no"}
    <div class="tweet">
    <div class="date">{created_at format="%d-%m %g:%i%a"}</div>
    <div class="status">{text}</div>
    </div>
    {/exp:twitter_timeline}
    
    {/exp:channel:entries}

    where {twitter-name} is a custom field in the channel ‘profile’.

    I’d like to create a timeline that pulls in multiple twitter feeds — is that possible with this plugin?

  • #2 / Jun 06, 2011 6:17am

    John Henry Donovan

    12339 posts

    madebysplendid,

    What is your outcome of doing the above at the moment? Have you tested it? In theory it should be ok.
    Make sure you have a a dynamic=“no” in your channel entries tag if you don’t wish to contend with the dynamic URL

  • #3 / Jun 06, 2011 6:38am

    gazaston

    128 posts

    Hi John,

    The code above works okay but only pulls in one person’s twitter feed. I guess what I’m after is the equivalent being able to dynamically pull in multiple @names — effectively something like this:

    {exp:twitter_timeline screen_name="@name1|@name2|@name3|@name4|@name5" limit="5"}


    Does that make sense?

  • #4 / Jun 06, 2011 6:59am

    John Henry Donovan

    12339 posts

    madebysplendid,

    Not with that add-on no. There may be one where you can specify multiple usernames though available on devot-ee.com

    The code above works okay but only pulls in one person’s twitter feed.

    Do you get 5 different twitter names using the below?

    {exp:channel:entries channel="profile" dynamic="no" limit="5"}
    
    {twitter-name}
    
    
    {/exp:channel:entries}
  • #5 / Jun 06, 2011 7:09am

    gazaston

    128 posts

    I get two — but I’ve only entered two so far.

  • #6 / Jun 06, 2011 1:23pm

    Kevin Smith

    4784 posts

    madebysplendid–

    As far as I know, there’s not a Twitter plugin that allows multiple users in a stream, though that sounds like an excellent idea for a plugin. I bet lots of folks would love to see that on Devot:ee. 😉

    Kevin

  • #7 / Jun 06, 2011 1:27pm

    gazaston

    128 posts

    Hi Kevin,

    Thanks for confirming that. I’ve agreed a workaround with my client; we’ll use Twitter Search 2 with a hashtag query to pull tweets in.

    http://devot-ee.com/add-ons/twitter-search-2/

  • #8 / Jun 06, 2011 2:35pm

    Kevin Smith

    4784 posts

    Awesome, glad you found a solution, madebysplendid. Closing this one up.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases