ok That took about 15 minutes !
I was able to get this to work in Dashboards 4 sp3 and Xcelsius 2008 sp5. I do not have other versions to test. I did prove that what you want to do is possible, with very little coding experience.
I returned a UserName, and the Date the Twitter account was created. This live Twitter information was displayed in a SpreadSheet component, embedded inside the SWF itself. You will have alot of work to do to get exactly the types of tweet information you want, but I think the documention exists for you to figure it out.
My Basic Steps:
- Make a new XLF
- Go to the IBM tutorial. There is a bit of XML code on the middle of that page (my first link above)
- Copy into Notepad. Save as XML.
- Setup XML Map inside XLF (see notes below)
- Create Data Connector to XML Map
- Drop Spreadsheet component on XML Map Range
- Preview.
At this point you should see a Date, and the title of “Twitter Updates from Joel Comm”…depending on what elements you brought over on the XML Map.
I used: ns1:link, type, rel, href, and ns1: updated
To get at the raw Twitter post content you will probably have to carefully read the IBM article to learn how to modify the base XML document, then use the API reference (the 2nd link) for the function names to pull whatever you are after (e.g. last 10 tweets from someone)
POST EDIT:
I was able to get all the xml attributes on the SWF, including capturing a tweet, by mapping the entire Attribute called onto the Excel worksheet area.
e.g.
<entry>
<title>joelcomm: thinking...</title>
<content type="html">joelcomm: thinking...</content>
<id>tag:twitter.com,2007:http://twitter.com/joelcomm/statuses/1369295498</id>
<published>2009-03-22T05:15:01+00:00</published>
<updated>2009-03-22T05:15:01+00:00</updated>
<link type="text/html" rel="alternate"
href="http://twitter.com/joelcomm/statuses/1369295498"/>
<link type="image/jpeg" rel="image"
href="http://s3.amazonaws.com/joel1_normal.jpg"/>
<author>
<name>Joel Comm</name>
<uri>http://www.JoelComm.com</uri>
</author>
</entry>
[i]Note: You cannot update or edit an Excel Map AFTER creating the XML Map connector. It will corrupt the XML Map Connector, and the XML Map connector will no longer work or refresh.
If you edit or update the Excel Map, Delete the XML Map Connector and create it again.[/i]
Cairmor (BOB member since 2008-06-05)