Is there a Delphi client for Twitter and Facebook updates?

image Is there a Delphi application like TweetDeck and/or Seesmic but using a tiny fraction of the system resources these bloated Adobe AIR clients use??

To the left is a screenshot from Process Explorer showing that TweetDeck takes 122MB of RAM to display updates from one twitter account and one Facebook account. That’s completely ridiculous.

On the other hand I did a fairly quick search for “Delphi twitter client” and didn’t turn up much but I can see the need for a native Windows app that does this using far fewer system resources than some Adobe AIR client.

What say you Delphi community? Please tell me there is an alternative!

14 thoughts on “Is there a Delphi client for Twitter and Facebook updates?

  1. I’m using a bash script I wrote, something along these lines:
    wget –keep-session-cookies –http-user=<user> –http-password=<passwd> \ -O – >$t 2>/dev/null
    hquery -q ‘//screen_name’ <$t | dos2unix >$name
    hquery -q ‘//text’ <$t | dos2unix >$text
    # other fields as necessary
    paste $name $text | tac | sed ‘a
    ‘ | fold -s
    rm $t $name $text
    … running on Cygwin bash, where ‘hquery’ is a little utility I wrote that takes an XPath expression and prints the text content of nodes (elements or attributes) with that content (written in .NET, so works on Linux, Mac and Solaris with Mono). hquery uses HtmlAgilityPack for lenient parsing of any html or xml-like structured text.
    Another script calling this one with an output redirect, that uses a loop, sleep, and diff can then notify upon changes.
    For updates, there’s another script, using Twitter’s HTTP-post API, but still using HTTP authentication and poking directly using wget.
    Was just a fun experiment in seeing how far I could get with command-line etc., but having it available in the console has encouraged me to post a lot more often. Very easy to work with, the Twitter API.

  2. To complete the information that J.D. Mullin conveyed:
    Jim McKeeth has started a theme named Delphi Projects on the Podcast at The first project is Dwitterphi and it’s a Twitter client. It’s been stalled for a while, but I have from good sources that it’s going to have a major come back.
    I’ve been busy doing Dweetta which is a Twitter lib for both Delphi and Free-Pascal and also a Simple Client to test the lib’s functionality. It’s at about 60% complete and the Simple client can already read and send updates. I would really appreciate some help on getting this job done, since I’m stuck on the oAuth debacle ATM.

  3. Thanks guys for the comments!
    And thanks Gustavo, though there seems to be rather a dearth of information there but I will check back. I’ll admit I was surprised when Googled for Delphi clients for these services and didn’t find anything as I recall Delphi days when things like this would have been implemented almost immediately. It’s been two years now since I left CodeGear and my work is all C# .NET these days though occasionally links to my blog lead me back into the Delphi community.

  4. Hi Steve,
    You know what, those were exactly my thoughts when I went digging into the Twitter Api Wiki: What, no Delphi lib/client/whatever?!?!?!?!?!?
    So I took action and started Dweetta.
    I was a bit sad but after taking action I felt good since I could now be the one to contribute instead of being the "leecher".
    I also recall Marco Cantu having some code for Twitter from the Live! Sessions. Not a client but some use of the API itself. Might be worth having a look also.

  5. Hi Gustavo,
    Interesting. Of course, the same could be said for the Facebook API, something I actually discussed with Delphi R&D back when I created a Starter Kit for FB in C# (after I left BORL). Of course, the same could also be said for RSS/ATOM, Google’s API’s, Flickr API’s, MS web API’s etc. My thinking at the time was in a different direction two years ago than classic Win32 development especially considering I’d already spent significant time working on the ASP.NET designer.
    I wanted to see Delphi embrace these major web API’s but that just wasn’t going to be the direction and appears still isn’t. Attending the Google Developers Conference two years ago was a serious eye opener in many ways not least of which was the fact I was the only person from Borland to attend what was a free conference. On a related note one of my most popular blog posts by far is related to using Google Maps.

  6. Hi Steve,
    Hummm, yeah. I think you just put into words what I’ve been feeling for a while, but did not dare admit it.
    The Delphi community is not as powerful as it was. I still remember when going to any Delphi related site one would have an overabundance of all kinds of libs for the full spectrum of the "hip" technologies. Now one has to struggle to find a little example on how to use it with Delphi and there are no tools at all.
    I’m probably painting a very gloomy picture, and maybe it’s going to pick up, but at the moment it’s how I feel. I do have hope!!
    Embarcadero seems to be much more efficient than BORL and it looks like Delphi is going to get it’s past glory back.

  7. Using the Twitter API from .NET and other languages is a no-brainer, especially with how easy it is to deserialize a JSON stream from twitter right into a list of objects. With Delphi it isn’t nearly as easy. Even if you use a third party component to parse the JSON, you still have to dig out each attribute manually. I’m anxiously waiting for better RTTI support for serialization and deserialization.

  8. I guess most developers still using Delphi are now working on different kind of applications, and don’t bother much about Facebook, Twitter or the like. Frankly, I do not use them, and I am working on applications that are in a pretty different league.

  9. As someone who does both .NET and Delphi Win32 programming, I can see where it would be easier to handle the Twitter API with a .NET client. I do think you’ll get an application with a smaller footprint if you do it with Delphi. I wouldn’t mind contributing to a Delphi client, I need to see which one I could provide the most help with.

  10. Hi,
    Related to this topic, today I’ve released Twitter Checker.
    Today I have released Twitter Checker.
    Twitter Checker is a small application that checks your Twitter account and popups a ballon tooltip when one of your friends tweets. It’s useful for people who are starting with twitter and don’t want to have a full twitter client open all day but want to know when their friends tweet.
    It’s written using Delphi 2009. It’s freeware and Open Source.
    Application and source code can be downloaded here.
    Javier Rojas Goñi

Comments are closed.