What is Tweet Import
Tweet Import is a WordPress plugin that imports Twitter tweets from multiple Twitter accounts and lists into WordPress. By importing tweets, Tweet Import actually creates WordPress regular posts using the content of the imported tweets. It allows importing Twitter feeds to different categories, and allows tagging imported tweets using user defined tags and/or the tweet content #hashtags. Tweet Import requires no authentication and can be used to import the user posted tweets and retweets from the specified Twitter accounts and lists.
Features
Tweet Import allows importing the following types of Twitter feeds:
- User Public Timeline: the public feed of a specific user account. This includes the tweets and retweets posted by the account owner of the Twitter user
- Favorites Feed: includes the tweets favorite by the Twitter user
- List: The tweets that appear on a user created list
For every imported feed, Tweet Import supports the following options:
- Assign a specific author for the imported tweets. This is useful if multiple authors use the same WordPress installation.
- Import Twets to a specific category
- Add user defined tags to the imported tweets and created posts
- Identify Twitter user names and make them clickable to their Twitter public profile pages
- Extract #hashtags from the tweet content and add them as tags to the created posts
- Make #hashtags clickable to either the Twitter search page or locally to the tag page on the local site
- Remove the name of the Twitter author [ @name: ] prefix from imported tweets
- Identify links in tweet content and make them clickable to their respective URL’s


I must be doing wrong, it is collecting my tweets but am I supposed to get a blog entry from the results? I’m not getting anything.
@Dave
Once you setup the plugin, it will automatically import tweets as normal blog posts.
Unless you are controlling what posts are displayed, the posts created by Tweet Import should appear on the home page, category and archive pages, and in feeds. If you are using plugins to post a new tweet when adding a post, this plugin will also add a new tweet as it would for normal posts.
Would you please provide more information about your issue. Please feel free to send me an email with some clarifications on the setup options and the number of imported tweets as shown in the Feed Info section of the plugin configuration page.
Is it possible to only import tweets with a specific Hashtag?
@Robin
When I designed the plugin, I thought it would be better not to include search feed import (the only way to retrieve tweets with #hashtags is search) for two reasons. One is performance, of course… and I thought that search capabilities might cause Tweet Import to be abused… and I wanted to keep the plugin away from those who try to download the whole internet
Sorry for that!
Thanks for your fine Plugin!
It would be fine, if the Tweets (optional) could be imported without creating a headline.
My only problem is that I changed the UTC Timezone of my blog, to fit my country (UTC -3) and now every post imported is scheluded to 3 hours later.
Twitter and my blog are both set to UTC -3…
(Excuse my english,
)
@Harald
Thank you… Will look for an option and let you know if omitting the title (headline) is possible.
@Horaz
Seems I identified the required change to prevent this from happening… Will ping when an update is available.
I must be doing wrong, It imports the same tweet up to five times.
Hi, It wont work for me. The plugin imports the same tweet up to 10 times. What should I do?
rgds Marie
Can I show the imported tweets as a widget sidebar?
I tried myself a for a while but couldn’t do it. Is there a way to replace the author name for the title? Maybe the next version could have an option of what the user would like the titles to be for example
1. Short version of the post
2. Twitter Name
3. Author name
4. put in something like {Author name} Twitter {Date}
Anyway this is just a suggestion. I just want the Author Display name if possible to be the title.
@Marie
That issue was not reported earlier… I sent you an email a while ago to get further details…
@Lara
The imported tweets are regular WordPress posts. If a sidebar widget can display posts it will surely display your imported tweets. By itself, Tweet Import does only import tweet. No built in widget is included in the plugin.
@Skyper
Replacing the Title with something else can be easily hacked… use the ‘the_title’ filter in the get_the_title() function to change the returned title. (read this) for a similar concept.
Guido Rovers on May 17, 2010 at 3:49 pm
Hi There,
great plugin, Keep up the good work !
I only have one question, I’m looking for a plugin and thought this would be the one, which puts the TWEETS of the same twitter account in different catagories..:-) Just a little bit different then this plugin…
I’m using a “closed” Blog for managing Projects, this ninvolves also a “closed”twitter account under which only authorized projectmembers can tweet… These tweets meet in the same blog but I want them to be put in de right catagory (a catagory is a Project for me), for instance by @test1 or @test2 for catagory test1 and catagory test2…
Is this possible ?
thanks in advance ,regards,
Guido
@Guido
If I get your requirements right, you would like to import @test1 to a test1 category and same for test2 and other Twitter accounts, then Tweet Import is the right plugin for you. You can import multiple Twitter accounts each to a different category… Furthermore, if you use #hashtags to differentiate projects, #hashtags can be added as tags to created posts…
Hope this helps
Hi Skinju, is it possible to update the frequency the tweets are imported? From what I understand about Twitters rate limits is that we’re allowed to 150 request per hour. So I think the frequency could be adjusted. (I’m following some news accounts, and having more frequent updates, would in my case be better).
On a sidenote, occasionally the tweetimport_twitter_author gets imported as the whole tweet. I haven’t found a pattern yet why this happens though.
@Skinju
Hi again, thanks for the answer but I probably misled you with my explanation…:-)
I don’t want the tweets from different twitter accounts in different catagories but tweets from the same twitter account in different catagories.
My suggestion with @test1 was an example how somebody tweets in the same twitter account and wants the message to be in catagory test1. Perhaps hashtags or another “trigger sign” could realize this…
thanks in advance…
regards,
Guido
@Guido
It is an option to have #hashtags added as tags for imported tweets. I believe this does the trick for you.
I’m trying to update the frequency the feeds get updated, I changed the value for everyquarter in the phpfile. That however only seems to update the time settings in the adminpanel, instead of importing the feeds more often. Any suggestions?
@Dinho
Tweet Import does cache the Twitter response to prevent unnecessary calls to Twitter APi in case something went wrong. I updated the plugin to allow changing the caching duration using a built in filter. Check out this hack for the details. http://skinju.com/wordpress/how-to-change-the-frequency-tweet-import-runs
Just noticed there was a new upgrade available. You’re my hero…runs off to test it!
@Dinho
Let me know how it goes
I installed your widget on my Wordpress 2.9.2 site, and get the following error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ‘,’ or ‘;’ in /homepages/42/d241350541/htdocs/wp-content/plugins/tweet-import/tweet-import.php on line 347
I’ve looked over that section, but I don’t see a problem with it..
The line, as I see it:
echo ‘Assign ‘ . get_userdata($account['author'])->user_login . ‘ as the author’;
@Robin
Thank you for bringing this up. Unfortunately, very few reported this issue previously and, no matter how much I try, I cannot replicate the same error on my end.
So if you, or anybody else for this reason, can grant me access to the backend of a WordPress installation that has this problem, I will try to check and come up with a suitable solution. For this, I will need access to both the WordPress admin area, and an FTP account to be able to edit the plugin and troubleshoot the system online.
@Dinho
Let me know how it goes
Really good sofar. I have it running every 5 minutes for some days now at a testsite, that follows quite a big list of people. Haven’t hit the rate limit (btw read somewhere the limit will be upped to 1500 request in the near future. Allowing for even more frequent updates, that is, if the server can handle it.
). So nothing but positivity over here!
The only thing that I haven’t solved yet, is how to get the auto-tag plugin working with tweetimport. It works fine after editing imported tweets, just not on importing tweets.
@skinju : sorry for the late answer, I was away..
In responds to your answer “It is an option to have #hashtags added as tags for imported tweets. I believe this does the trick for you”, I’m not sure what you mean ?
I can enable the #hashtags but how do I get these then in the right catagory ?
The option “Category for imported tweets” only lets me put the tweets of the configured account(s) in a specific catagory…but not all the tweets from that same account into different catagories on base of a hashtag or something else…?
thanks in advance,
regards,
Guido
Lol, (kinda) fixed the autotag problem from my previous comment. If anyone else wants to try it; I did it by removing the add_tag references from Tweetimport.php. It’s on your own risk though. Maybe Skinju can comment on any issues that I might not have thought off (with my limited knowledge).
@Dinho
Seems there is still room for more improvements… In theory there should be no conflicts… Will look deeper and let you know
@Guido
If I get it right, you would like to assign categories dynamically based on tweet content instead of tags. Well, currently there is no option to have dynamic category assignment based on tweet content. Why are tags not an option for you? I mean, you can import the tweets to different tags where tags are project pages and not categories. Would that work?
Skinju, I think Guido means want to import tweets into multiple categories. So instead of selecting one category, being able to select multiples categories. So for example a tweet about soccer could be posted into the sport category and into the soccer category. Would be a usefull feature.
About changing to autotag; it seems to work fine after some days. Just lost the ability to autotag hashtags…but that’s not weird
@Dinho
Thank you for clarifying the multiple categories option… Not sure how reliable would automatically triggering for categories is… Will think about it!
As for the autotag, I believe there is a solution to having both plugins work together… Stay tuned for an update
You’re welcome
As for the autotag, I believe there is a solution to having both plugins work together… Stay tuned for an update
That would be really good news!
@Skinju, Dinho
Thanks for cooperating on this…:-)
Tweets in Multople choosen catagories would be great as well…. But I would be happy if I could get the tweets from the same twitter account into different catagories by somekind of “hashtag for instance.
I’m investigating if I can use Twiiter and Wordpress for Project Management. I have 1 twitter account where everybody who is authorized (projectmembers) can send tweets about different projectsitem even for different Projects. Within the blog I want those tweets in certain catagories depending on the projects these tweets are about.
I have a project called “project 1″ so I make a catagory “Project 1″ and want all the tweets about Project 1″ in the catagory “Project 1″.
How this is done is the actual question? This could be by starting a tweet with “@Project 1″ for instance so “something” will trap “project 1″ and put the catagory “Project 1″ on it in the blog… etc. etc.
thanks,
regards,
Guido
Another question: can tweets like the one below be stripped out of linebreak? (breaks the layout) Secondly the tweet below is an example of a case where the entire tweet gets imported as the tweetauthor. Probably my poor mans solution would be to limit the number of charachters a tweetauthor can have.
—————————————————– > the tweet
@Guido
#hashtags will get the tweet tagged with the #hashtags as tags. Why aren’t tags an option instead of categories?
Anyway, if I may, I suggest you do not use 1 Twitter account for all project managers. Maintaining this account and making sure only allowed users have access given the dynamics of a team… I do not want to be doing that
What you can do is create a list on Twitter. Every project manager will have his own twitter account. All PM’s can be added to a list on Twitter and Tweet Import can be configured to import this list.
All project managers will use #hashtags as using @project1 is actually referring to a @project1 user on Twitter and I wouldn’t take that risk. They would rather use #project1.
I would also use Tags instead of categories. Tags are dynamically added as projects are added and would require no category maintenance.
My 2 cents anyway
@Dinho
The plugin does not change the actual content of the tweet, but I am sure there are other techniques to prevent wp from rendering a line break in the output.
Second, the tweet author is anything in the beginning of the tweet between the @ and the : characters
What if the tweet is deleted from wp and imported again… will it be imported with the same issue?
Thanks for the reply. I can indeed probably find a regex to delete the linebreaks in the_content. Haven’t tried deleting and reimporting the bad entries. (edided them, if I spotted them).
Somehow the linebreak problem and the import thingie seem to be related. See fe http://www.twitmedia.nl/?s=verwer&cat=0.
That guy puts a lot of breaks in his tweets, and a lot of his tweets get imported wrong. It’s nothing to worry though. 98% of the tweets gets imported correctly. I’ll try to see if a regex solves and solves the import problem. I’ll let you know.
Oke, looking at the entries again, the problem happens when tweets get truncated by twitter and the 3 dots … get entered at the end of a tweet. Now on to find a regex that removes the …. Or can your regex to strip out the author be adjusted?
Btw; I was just reading up on the oauth apocalypse on june 30th.
http://countdowntooauth.com/ . Will this affect the plugin in any way?
@Dinho
I am not sure it is a good idea to strip any content during the import process. I recommend you use regex during the_content display. I heard there is an excellent regex plugin out there and you can give it a try.
I apologize for not addressing your issue, it’s just that importing a tweet is something and fixing some user’s content is something else
@Dinho
Tweet Import does not require users to authenticate to get tweets from Twitter, therefore, oauth should not have an impact on it
I am getting Last checked on ERROR: Feed Reading Error.
for some feeds.
Is it because of limits of twitter or something else?
@Farhan
=- but I recommend you look into the feed configurations first.
The “ERROR: Feed Reading Error” is reported when the plugin cannot fetch or parse a Twitter configured feed. Limitations on Twitter API might cause this -=not sure though as I never encountered it
@Robin
Thank you for setting up a test environment to solve the parsing error. The issue was identified and solved and version 1.3.1 should be working fine now.
The issue was due to the fact that PHP 4 (which some hosts still run) does not allow method chaining on objects returned by methods which PHP 5 supports. A workaround was needed and it solved the problem.
i have this installed and running – it tells me 2 tweets have been imported, but there is still only the one post I have ever made – it doesnt appear to be making posts on the front end. My settings…
Assign weem as the author
Import tweets to Twitter category
Tag tweets with:
Make Names clickable: Yes
Tag with the tweets #hashtags as well: No
Make #hashtags clickable: Yes, to twitter
Remove @name Prefix: No
2 tweets imported
—
But like I said, no posts have been created for them.
Why did you chose to limit the title to 25 characters? Not very SEO friendly.
So far Im loving the plugin however there seems to be a problem – when you click the posts title and are taken to the permalink no post is being shown only the 404 page.
Its odd the tweet is imported and displayed on the main page but theres a permalink issue…
Ideas?
@theweem
Apologies for being late… This is interesting… don’t the posts show in the admin area?
@theweem
I just checked your website and seems it is working now?
@Frode
what do you recommend?
I wanted to shrink 140 chars so 25 seemed a good number
@MD
This is not a usual issue with the plugin… as far as I know permalinks are OK… what wp version are you using?