Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-11-01 19:52:50

tennapel
Member
Registered: 2009-05-31
Posts: 62

Best way to display twitter messages?

I’ve tried several plugins and rss parsers, but they all keep throwing error messages about depreciated PHP calls.

The only thing I want is display the X latest twitter messages and be able to mark them up myself using CSS. Best suggestions?

Offline

#2 2009-11-01 20:32:16

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Best way to display twitter messages?

I use kml_twitter without any problems.

Offline

#3 2009-11-03 07:20:37

tennapel
Member
Registered: 2009-05-31
Posts: 62

Re: Best way to display twitter messages?

kml_twitter is not fit for purpose: you cannot set the number of tweets that should be retrieved.

Offline

#4 2009-11-03 07:50:42

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Best way to display twitter messages?

tennapel wrote:

kml_twitter is not fit for purpose: you cannot set the number of tweets that should be retrieved.

That’s not true. From the available attributes:

COUNT
The number of tweets to display. Note that Twitter will return a maximum of 200 tweets. Default is 1


Prrrrrrrr

Offline

#5 2009-11-03 12:52:41

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Best way to display twitter messages?

Arjan is correct.

Offline

#6 2009-11-03 15:06:09

tennapel
Member
Registered: 2009-05-31
Posts: 62

Re: Best way to display twitter messages?

ow..oops.. i downloaded it from another source without the explanation :-) thnx.

Except there IS a problem:

Tag error: <txp:kml_twitter user=“vanderaanet” count=“2” displaytitle=“false” /> -> : Function ereg_replace() is deprecated on line 200

probably due to a new PHP5 versions that comes with Snow Leopard. I dislike these kind of errors, I think I’ll make a custom plug-in using a PHP Twitter API that I’ve found, which seems to work really nice.

Last edited by tennapel (2009-11-03 15:16:19)

Offline

Board footer

Powered by FluxBB