Allt om Lotus Notes & Domino

Lotus Notes Twitter v2
Twitter v2


  • Import of avatars are now optional in configuration
  • Debugmode is now a setting in confguration
  • Timezone is now a setting in confguration
  • If avatars is not available to download it is added to the ignorelist
  • Added blue color to selected entries in outline
  • Changes agent security option to level 3 (must be 2 or 3 to run on server)
  • When opening a twitter post and if there is a link in the statusmsg the link is now clickable
  • Added a preview function where the 20 latest twitters are showed in a richtext field (test action)
  • Only one logdocument is now created every day
  • Preview documents are removed each each time the twitter agent runs
  • Fixed an issue where Tweeters was added multiple time, (Please Remove all your tweeters for this to work)
  • Fixed a problem with encoding/escaping of characters.
  • Improved errorhandling when retrieving and posting twitters.
  • Release notes have been moved to a seperate section under admin
  • Actions are now showed in a better way in views.
  • Avatars are now imported as image resources into the application and can be showed in views and documents. all avatars are converted to jpg and resized.
  • Date and time are now stores as correct Lotus notes dates
  • Added and Advance Tools menu to all views allowing user to do application maintenance without needing desginer.

  • Only replies to other posts are showed (i.e not replies to users)
  • When avatars is created the application need to be re-open before the avatars are showed in views.

  • Gets twitters the configured user are following from the interne
  • Twitter replies are displayed in a responsehierarchy.
  • User can Post new twitters or reply to other posts
  • Unread marks allow users to visually follow new posts.

Download Twitter v2 here

See also Twitter v1

Relevanta Poster på Notessidan:

Publicerad 2009-01-03 | Kommentarer: 15 | Läsningar: 5332

Almar Diehl ( 2009-01-03 11:14:39 ) Websida
Hi Thomas.

great application!
Patrik Brinkhäll ( 2009-01-09 22:54:10 )
Hej, Thomas!
Jag installerade Twitter v2, lade till robertbrook, lisa bettany samt betaalfa å körde manuell update. Robertbrook's data kom in men inget annat, no resume. Konstaterade sedan att det inte går att skriva tweets med citattecken. Vi ses kanske på Lotusphere om en sisådär en vecka.
Thomas ( 2009-01-09 23:03:25 ) Websida
Hej Patrik

Kan du kolla i logvyn om du ser nåt, eller om det syns vilken rad som går fel i statusraden

- Thomas
Kevin Pettitt ( 2009-01-29 19:26:09 ) Websida
So nice I blogged it:

Greg Walrath ( 2009-01-30 06:39:19 ) Websida
Any problems with the agent? I'm running it on my notes 8.5 client, and I get the error 'NO RESUME' when trying to manually run the update agent. I've signed it with my ID.
Kevin Pettitt ( 2009-02-03 20:58:51 ) Websida
The agent apparently requires Windows so you must either run it from your Windows client or a presumably a Windows Server. If you the former is your only option, then you must enable local background agents in your client preferences. I got it to work after 1) enabling background local agents, 2) restarting the Notes client, and 3) resaving the agent while setting it to run on "Local" instead of "Any Server".
Ken ( 2009-04-28 18:56:34 )
I am having what appears to be network connection difficulties.
I am guessing this is the proxy.
I can use Twitter in Chrome.
I would have thought if I can access it is Chrome then I can access it with this in Notes.

Sjaak Ursinus ( 2009-06-15 14:24:12 ) Websida

I really like your application !! Only one odd thing found till now. It seems that sometimes the day and month data isn't picked up correctly form the retrieval agent. Did you experience that problem as well ?

JakeJBlues ( 2009-07-30 23:36:56 ) Websida
Thanks :-) It is great!
Frank Wiele ( 2009-09-01 17:31:42 )
I have the same problem as Sjaak Ursinus. I thinkt the time format of the operating system causes this. Here in germany we use So the paramter of session.CreateDateTime(...) has to be in correct format.

I've modified the agent "getTwitter" and it works nearly perfect right now. (I still have the “NO RESUME” error during manual update.)

Here's how you do it:

Replace line 74 in initialize of “getTwiitter” agent "fulldate = yr + "-" + mo + "-" + dy + " " + Tm" with this here:

If (session.International.IsDateDMY) Then
fulldate = dy + "-" + mo + "-" + yr + " " + Tm
Elseif (session.International.IsDateMDY) Then
fulldate = mo + "-" + dy + "-" + yr + " " + Tm
fulldate = yr + "-" + mo + "-" + dy + " " + Tm
End If

I've created an agent to repair current docs/tweets, too. It uses the getMonth(..) function of the getTwitter agent. I've simply copied it to the new agent.

Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim profdoc As NotesDocument
Dim toGMT As Integer

Dim ndc As NotesDocumentCollection
Dim nd As NotesDocument

Set db = session.CurrentDatabase

Set profdoc = db.GetProfileDocument("Config")
If profdoc Is Nothing Then Print "Could not find profile doc",64,"Info":Exit Sub

toGMT = profDoc.ToGMT(0)
If Cstr(toGMT) = "" Then toGMT = 0

Set ndc = session.CurrentDatabase.UnprocessedDocuments
Set nd = ndc.GetFirstDocument()

While (Not nd Is Nothing)

Dim d As String,dy As String, mo As String, yr As String, fulldate As String
d = nd.GetItemValue("TWITTER")(0)

' Need to handle this strande date format: Fri Dec 12 11:57:04 +0000 2008

mo = getMonth(Mid(d,5,3)) ' Month
dy = Mid(d,9,2) ' day
tm = Mid(d,12,8) ' Time
yr = + Mid(d, 27,4) ' Year

If (session.International.IsDateDMY) Then
fulldate = dy + "-" + mo + "-" + yr + " " + Tm
Elseif (session.International.IsDateMDY) Then
fulldate = mo + "-" + dy + "-" + yr + " " + Tm
fulldate = yr + "-" + mo + "-" + dy + " " + Tm
End If

Set dt1 = session.CreateDateTime(fulldate)

Call dt1.AdjustHour(toGMT)

Call nd.ReplaceItemValue("DateCreated", dt1)

Call nd.Save(True, False, False)

Set nd = ndc.GetNextDocument(nd)
End Sub

Max ( 2009-10-22 01:11:50 )
Very cool!!!

I have two questions:
1) I enabled the agent to run on local and I tried to enable background local agents (not sure if the setting Kevin is referring to is the one available from File --> Preferences but that is what i enabled) - the outcome is that I get the tweets even though I still get the "No RESUME" error message. Any idea?

2) I noticed that if I post a tweet, it doesn't display in the view but does display from the "Your Status" action. Also I noticed that once I run the agent some older tweets under my twitter ID are downloaded but not the last one (most recent one) I sent. Again any idea would be appreciated.

Thank you
Thomas ( 2009-10-23 22:09:19 )
Hello Max
I am sorry I have no time supporting this application. feel free to make your own adjustments or ask another developer to help you.

don ( 2010-08-18 13:05:01 )

Don ( 2010-09-23 16:26:55 )

Thomas ( 2010-09-23 22:19:04 )

Sök på Notessidan
Thomas Adrian
ThomasCertifierad utvecklare och administratör inom Notes & Domino

Kontakta mig

Senaste Sökningarna på Notessidan
Sön - sharepoint (R:1)
Sön - räkna and antal and besökare (R:0)
Sön - browser (R:17)
Sön - stoppar and mail (R:1)
Sön - korrupt (R:3)
Sön - böcker (R:0)
Sön - kalendern (R:12)
Sön - feature (R:15)
Sön - print and mime (R:2)
Sön - länka (R:0)
Sön - databasen (R:94)
Sön - access (R:47)
Sön - outlook (R:15)
Sön - webanvändare (R:0)
Sön - google and maps (R:6)
Sön - juffe (R:2)
Sön - uidoc.print (R:1)
Sön - java and lotusscript (R:26)
Sön - besök (R:0)

Databasstatistik Blogg
Uppdateras var 15:e Minut

Antal Poster:562
Antal Kommentarer: 1587
Alla sidvisningar idag:
Unika Besökare idag:
Databasstorlek: 119,25Mb
Fixup: 2021-01-17 00:30:37
FT:2021-01-17 02:00:43
DB Procent använd: 98,6
Antal Agenter: 42
Antal Formulär: 65
Antal Vyer: 60
Antal Dokument: 8461
Antal Image Resources: 108
Antal Subformulär: 18
Antal Scriptbibliotek: 11
Totalt Antal Designelement: 576
Antal Attachments: 158
Antal Konflikter: 0
Server version 1: 452
Server version 2: Release 11.0.1|March 21, 2020
Server Plattform: Windows/64
Ändrad: 2021-01-17 03:01:46
Server Tidszon: Z=-1$DO=1$DL=3 -1 1 10 -1 1$ZX=133$ZN=W. Europe
Kommentarsspam Idag: 4
Kommentarsspam Totalt: 26043

Top Sites at

Fight Spam! Click Here!

Listed on BlogShares

Increase website traffic

Top Internet Blogs

Site Checker