Twitterverse Quartz Composer

Newer Older

Part of the Apple Developer Docs example compositions.

Install the Developer Tools and look for:

/Developer/Examples/Quartz Composer/Compositions/XML/The Twitterverse/The Twitterverse.qtz

On Digg: digg.com/apple/Hidden_OS_X_feature_Twitter_integration

On TG Daily: www.tgdaily.com/html_tmp/content-view-37349-144.html

On LifeHacker: lifehacker.com/389207/twitterverse-screensaver-visualizes...

View 18 more comments

  1. snackfight 73 months ago | reply

    factory joe is the center of my galaxy as well

  2. DavidRisley 73 months ago | reply

    Now that's just cool.

  3. lgoose 73 months ago | reply

    is there a way to download this?

  4. AxsDeny 72 months ago | reply

    Yeah, I just get the black screen too. Perhaps it's because I only have the iPhone SDK installed.

  5. factoryjoe 72 months ago | reply

    I also have the iPhone SDK installed and it works fine for me.

  6. Bayliss. 72 months ago | reply

    Leave it running for a while, it'll download your contacts. and it'll work.

  7. AxsDeny 72 months ago | reply

    I left it running overnight. It was a black screen when I went to bed. Eight hours later it was still the same. *shrug*

  8. whurley 72 months ago | reply

    Hey everyone, it's easy to make this a screensaver (not so easy getting it to work correctly). Just put "The Twitterverse.qtz" into:

    ~/Library/Screen Savers

    Then when you open your preferences and select screen savers, look at the bottom under "others" and you'll see "The Twitterverse" as an option.

    twitter.com/whurley

  9. sean808080 72 months ago | reply

    doesn't work for me either. i got it to show just my face [unh!] by unchecking the local option.

    www.twitter.com/sean808080

  10. trumpetflickr 72 months ago | reply

    Awesome stuff, looking forward to try it out!

  11. AxsDeny 72 months ago | reply

    Here's the error dump from Quartz Composer:

    15:31:42.797 ["XML Downloader" @ "XML Download"] > Downloading xml data from URL "http://AxsDeny:XXXXXXXX@twitter.com"
    15:31:42.805 ["XML Downloader" @ "XML Download"] > Downloading xml data from URL "?since=Mon%252C+12+May+2008+15%253A31%253A42+GMT-0400 -- file://localhost/Users/axsdeny/Library/Screen%20Savers/"
    15:31:42.806 ["XML Downloader" @ "XML Download"] > Failed downloading url "file://localhost/Users/axsdeny/Library/Screen%20Savers/?since=Mon%252C+12+May+2008+15%253A31%253A42+GMT-0400" with error: Error Domain=NSURLErrorDomain Code=-1101 UserInfo=0x18175b40 "file is directory"
    15:32:00.262 ["XML Downloader" @ "XML Download"] > Done parsing XML from URL "http://AxsDeny:XXXXXXXX@twitter.com"
    15:32:00.269 ["XML Downloader" @ "XML Download"] > XML downloaded
    15:32:00.270 ["XML Downloader" @ "XML Download"] > Downloading xml data from URL "http://twitter.com/statuses/user_timeline.xml"
    15:32:00.277 ["XML Downloader" @ "XML Download"] > Downloading xml data from URL "http://twitter.com/statuses/friends.xml"
    15:32:00.482 ["XML Downloader" @ "XML Download"] > Done parsing XML from URL "http://twitter.com/statuses/user_timeline.xml"
    15:32:00.508 ["XML Downloader" @ "XML Download"] > XML downloaded
    15:32:00.950 ["XML Downloader" @ "XML Download"] > Done parsing XML from URL "http://twitter.com/statuses/friends.xml"
    15:32:00.962 ["XML Downloader" @ "XML Download"] > XML downloaded
    15:32:00.963 ["JavaScript - Image Loader" @ "Friend Images"] > TypeError: Undefined value
    15:32:00.963 ["JavaScript - Image Loader" @ "Friend Images"] > Execution failed at time 18.223
    15:32:00.964 ["Friend Images" @ "Twitter Data"] > Execution failed at time 18.223
    15:32:00.965 ["Twitter Data" @ "Macro Patch"] > Execution failed at time 18.223
    15:32:00.986 ["Macro Patch" @ "(null)"] > Execution failed at time 18.223

  12. Renaud Joly 70 months ago | reply

    ouch lost in space ;-)

  13. trumpetflickr 70 months ago | reply

    Unfortunately it seems to be broken, or unreliable, whose fault? Not really sure : (

  14. phillipsmn 65 months ago | reply

    So, did anyone figure out how to make it work? It's still cool and since there's TwitSaver for Windows and no Mac version, it would be great to get this online.

  15. nicosFR 58 months ago | reply

    anyone got it working ? I'dlove that but don't have the time to code another one... probably a twitter API update... I got this error:
    Failed downloading url "file://localhost/Users/nico/Desktop/The%20Twitterverse/?since=jeu.%252C+16+juil.+2009+10%253A47%253A39+GMT+0200" with error: Error Domain=NSURLErrorDomain Code=-1101 UserInfo=0x1d87cd70 "file is directory"

  16. jpritz 57 months ago | reply

    It has to do with the XML importer Patch in Quartz Composer.

    Below is the exact explanation that Apple gives when mousing over the patch in the library inspector . . .

    *****Start Explanation*****

    XML Importer:
    Downloads and parses XML from a specified URL or file path.

    The file path is considered absolute if starting with '/', relative to the current user directory if starting with '~', or otherwise relative to the location of the Quartz composition file if available.

    The URL must use one of the allowed protocols: file, http or ftp.

    The download starts when the "Update Signal" input is set to True. When the download and parsing are finished, the "Done Signal" output is temporarily set to True and the XML is made available as a structure on the "Parsed XML" output.

    *****End Explanation*****

    My log file when running a test of the twitterverse.qtz composition shows that the XML Importer patch is currently set to local and pointing not to a URL but the directory file://

    ------ > (Represent the flow of the log file I did this so it didn't look Chinese to some individuals)

    *****Start Log*****

    ===== Log Started on 2009-08-31 09:55:07 -0500 =====

    2009-08-31 09:55:08.491 QCPlayer[2561:4c0b] *** Message from :

    ------ >

    Failed downloading url

    ------ >

    "file://localhost/Developer/Library/Qua rtz%20Composer/Examples/Patches/The%20Twitter verse/?since=Mon%252C+31+Aug+2009+09%253A55%2 53A08+GMT-0500"

    ------ >

    with error: Error Domain=NSURLErrorDomain Code=-1101 UserInfo=0x11414ac30

    ------ >

    "file is directory"

    ------ >

    Underlying Error=(Error Domain=kCFErrorDomainCFNetwork Code=-1101 UserInfo=0x114365860 "file is directory")

    *****End Log*****

    To fix this I believe one will have to go into Xcode and manually update the URL to the correct Twitter API call

    (ergo: the URL that Twitter provides in its developer tools so an application such as twitterverse.qtz can use to log with.)

  17. siros 41 months ago | reply

    Isn't this broken because Twitter has changed its authentication method? When I manually go to the API call as defined in the TweetVerse.qtz XML Importer, "http://twitter.com/statuses/user_timeline.xml", it asks me for a login and password and then I get the error message "Basic authentication is not supported"

keyboard shortcuts: previous photo next photo L view in light box F favorite < scroll film strip left > scroll film strip right ? show all shortcuts