Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8797839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:56:16+00:00 2026-06-13T23:56:16+00:00

When using the Twitter Timeline plugin in EE1, is there a way to filter

  • 0

When using the Twitter Timeline plugin in EE1, is there a way to filter out mentions from the list of tweets that it outputs?

I only want to output tweets that don’t start off as a reply to another user, in order to avoid conversations appearing in a website’s Twitter feed.

Thanks,

Ste

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:56:17+00:00Added an answer on June 13, 2026 at 11:56 pm

    I’ve used Tweetline for this in the past. It’s quite a bit more flexible than the Twitter Timeline plugin and you can easily filter out mentions and retweets.


    Edit with EE1 fix: Fortunately the Twitter API (even this old version) supports parameters for retweets and replies, so adding in params for those is very simple. Look for this on line 82:

    $TMPL->log_item("Using '{$timeline}' Twitter Timeline {$log_extra}");
    

    Underneath that add the following:

    // toggle retweets and replies
    
    if ($TMPL->fetch_param('replies') == 'off')
    {
        $this->parameters['exclude_replies'] = TRUE;
    }
    
    if ($TMPL->fetch_param('retweets') == 'on')
    {
        $this->parameters['include_rts'] = TRUE;
    }
    

    You can then use code like this in your template:

    {exp:twitter_timeline screen_name="someguy" limit="1" replies="off" retweets="off"}
    

    Due to the way the API’s setup it looks as though replies are included by default and retweets aren’t. It’s worth noting this too, from the API docs:

    The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. We include retweets in the count, even if include_rts is not supplied. It is recommended you always send include_rts=1 when using this API method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a simple site that fetches tweets from the Twitter public timeline,
Is there any way to add a photo to Twitter timeline using TWRequest or
I'm using the Twitter API in order to pull tweets from specific users. I
I've been using the Twitter search api and PHP to pull in tweets from
I am creating a webapp that relies on following a status timeline from twitter
I have JQuery Twitter api plugin I have been using often from site to
I am trying to make an app that parses data from Twitter using JSON
I'm using the following to try and get the twitter timeline of a user.
I'm using cURL to get the XML file for my Twitter friend's timeline. (API
I am using Twitter Bootstrap, (CSS and JS). The problem comes from the Modal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.