Textpattern Forum

You are not logged in. Register | Login | Help

#1 2012-07-10 08:54:35

yotiao
Member
From: UK
Registered: 2009-10-27
Posts: 26
Website

How to put a stream of Twitter favourites on a page?

Hello everyone,

I can’t find it anywhere, as everybody only puts their own twitter stream on their websites. I would like to put my favourites only, and there seems to be no plugin for that. The only thing I fugured out is Google Reader feed, but going through Google Reader aggregation of Twitter favourites and then pulling that as the RSS feed seems not very efficient…

If anyone could suggest an easy way of embedding, say, last 10 tweet favourites, with styling, on a txp page, I’d be grateful.

cheers
yot

Offline

#2 2012-07-10 10:49:04

lazyadmin
Member
Registered: 2009-08-08
Posts: 24

Re: How to put a stream of Twitter favourites on a page?

I use the following (needs smd_xml), maybe it suits your needs:

<ul>
<txp:smd_xml
     data="https://api.twitter.com/1/favorites.xml?count=10&screen_name=YOURTWITTERACCOUNT"
     record="status" limit="10" fields="text, screen_name, name" skip="created_at"
     format="text|link" concat="0">
   <li title="Tweet of {name} ({screen_name})">
{text}
   </li>
</txp:smd_xml>
</ul>

Offline

#3 2012-07-10 11:45:14

yotiao
Member
From: UK
Registered: 2009-10-27
Posts: 26
Website

Re: How to put a stream of Twitter favourites on a page?

It works!!! Thanks a million!

cheers
yot

Offline

Board footer

Powered by FluxBB