Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Marden 235 posts 338 karma points MVP c-trib
    Nov 25, 2010 @ 11:22
    Paul Marden
    0

    Following a Twitter list

    Warren,

    I want to be able to output the tweets from a list like @orcare/fleetandfarnborough4n.  Do you know if the package will do that?  I also want to be able to filter the tweets from that list so that I only show ones with a given hashtag, such as #4n, how easy would it be to hack the package to do that?

    P

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 25, 2010 @ 11:28
    Chris Houston
    0

    Hi Paul,

    From memory if the source, pretty simple to do :)

    Warren should have this knocked up in 30 minutes... I'm timing you Warren ;-)

    Chris

  • Warren Buckley 2106 posts 4836 karma points MVP ∞ admin hq c-trib
    Nov 25, 2010 @ 11:36
    Warren Buckley
    0

    Hey Paul,
    I would have to take a bit more look into it.

    But an example XML /Rest call would be like so
    http://api.twitter.com/1/warrenbuckley/lists/1001858/statuses.xml

    Obviously swap out warrenbuckley with the username and the ID of the list. To find the ID of a list you need to view the XML that this returns
    http://api.twitter.com/1/warrenbuckley/lists.xml

    You could then return all the statuses from a list and then with XSLT contains() you could check to see if that hashtag existed.

    The project is open for contribution if you want to get involved and create another XSLT to help do this, but currently right this minute I do no thave the time I am afraid.
    Cheers,
    Warren :)

     

  • Warren Buckley 2106 posts 4836 karma points MVP ∞ admin hq c-trib
    Nov 25, 2010 @ 11:36
    Warren Buckley
    1

    Haha thanks Chris, think I will have to pass on the code timing challenge today! ;)

  • Paul Marden 235 posts 338 karma points MVP c-trib
    Nov 25, 2010 @ 11:52
    Paul Marden
    0

    Warren,

    THanks for this.  I was looking for some direction, not for you to rewrite it for me!!!

    I'll have a play and let you know how I get on.

    P

Please Sign in or register to post replies

Write your reply to:

Draft