FossyTweetsTalk

About FossyTweets

MichaelCorbett says: My aim with the FossyTweets page was to allow community members to add some code that would excerpt their last 5 tweets onto this page. It would allow community members to come to this page and see all the tweets in overview with a view for them to decide who they wanted to "follow" on twitter. Unfortunately the code snippet that I copied to do this only allows for one person's tweets to be shown on a page and so it was not possible to have a "overview of tweets" page. What I have done for now is to make the page list the twitter user "nextwiki" but if there is anyone with the java/twitter know-how to correct my simple javascript snippet (see below) please let me know and I'll try to ressurect the concept.

Code Snippet I used

---++ Your name here
%TWISTY{
showlink="Tweet to me!"
hidelink="Twut up"
remember="on"
}%
<div id="twitter_div">
<ul id="twitter_update_list"></ul>
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/YOUR USER NAME HERE.json?callback=twitterCallback2&amp;count=5"></script>

Why not [[http://twitter.com/YOUR USER NAME HERE][follow me]] on Twitter?
%ENDTWISTY%

Comments

Ideas, comments, suggestions: please write them here. Sign and date your comments if you don't mind.

The referenced blogger.js script hardcodes the ID of the ul element to which the output will be written. A modified version of the callback can be written so the ID of the ul element to be customized. I've written a prototype but I seem to be running up against this bug. -- IsaacLin - 02 Dec 2008 - 03:04

I have attached my Javascript file to FossyTweetsFetchStatus and created a temporary sample page, FossyTweets that makes use of it. Note that the way the bug I seem to be encountering manifests itself, the page seems to work the very first time it is loaded, and then subsequent loads will fail. This seems to be due to a caching problem by Twitter. (Technical details: The initial response seems to be cached with the callback instead of just the JSON data structure, so the subsequent response has nested callbacks.) -- IsaacLin - 03 Dec 2008 - 15:06

The bug report says the bug has been resolved, and it seems to work, so I've replaced the FossyTweets page with the implementation from the sandbox version. Note I intentionally did not put a table of contents on the page: with all of the sections closed, I thought the headings were already easily skimmed, and the table of contents would look redundant. I realize that with some sections left open, a table of contents would be more useful. I'm not sure which is the more likely use case: I believe I would tend to close a section after reading it, as this reduces the amount of scrolling I need to do on the page. -- IsaacLin - 04 Dec 2008 - 00:42

Isaac, thanks very much! There’s a virtual beer in this for you. -- MichaelCorbett - 4 December 2008 - 10:29

-- MichaelCorbett says on 21 Nov: I've created this page to allow people to see all those community members who have twitter accounts. I've done it so that you can use the twistys to "remember" whose tweets you'd like to see on a regular basis and then come back to the page and the twisty (should) remember your choices. I hope this page is useful. Let me know what you think.

-- DavidWolfe - 21 Nov 2008 - 18:20 Using the code sample on this page, I added my information to the topic, but it looked like it was broken: the information showed up on my twisty, but Michael's was empty. I deleted my entry to restore it until someone smarter than me takes a look at it.

BTW, is the option to restore a previous version of a topic gone? Isn't that pretty important?

-- MichaelCorbett says on 24 Nov: David you are absolutely right. Unfortunately I am at a loss as to why this happens. I just copied the code snippet from somewhere else. I wonder if anyone else knows?

This wiki app seems to be out of order. I can't see any tweet updates at all. Anybody able to fix?

-- MichaelDaum - 11 Nov 2010

TwitterBuzz seems to do just fine.

-- MichaelDaum - 11 Nov 2010
 

BasicForm edit

TopicClassification MarketingWork
Topic Summary
Interested Parties
Related Topics FossyTweets
Topic revision: r12 - 11 Nov 2010, MichaelDaum - This page was cached on 16 Jan 2021 - 23:18.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy