NOTESSIDAN

Allt om Lotus Notes & Domino




Lotus Notes Twitter v2
Twitter v2



TWITTER V2 - CHANGE LOG

  • 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.
TWITTER V2 KNOWN ISSUES

  • 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.
TWITTER V2 MAIN FEATURES

  • 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
Kommentarer

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: http://www.lotusguru.com/lotusguru/LGBlog.nsf/d6plinks/20090129-7NRM2J

:-)
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
Tomas,

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 dd.mm.yyyy. 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
Else
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
Else
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)
Wend
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.


Thanks
Thomas
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
Fre - fel (R:62)
Fre - installera and lotus and 8 (R:13)
Fre - notes and 8 and crash (R:3)
Fre - konsumera (R:3)
Fre - lösenord (R:0)
Fre - fält and säkerhet (R:0)
Fre - brevlåda (R:0)
Fre - färger (R:0)
Fre - olästa and mail (R:0)
Fre - save and mail and as and file (R:8)
Fre - start and lotus and notes (R:17)
Fre - ddm (R:6)
Fre - inga and bilagor (R:2)
Fre - mail and i and inboxen (R:3)
Fre - log.nsf and union and all and select and null,null,null,null,null,null,null-- (R:13)
Fre - log (R:36)
Fre - jämföra and dokument (R:0)
Fre - lästa and mail (R:0)
Fre - server and hårdvara (R:0)
Fre - trådar (R:0)
Fre - postopen (R:1)
Fre - fält and validering (R:0)
Fre - a and a and o (R:11)
Fre - flera and användare (R:0)
Fre - radera and mail (R:1)
Fre - domännamn (R:3)
Fre - ändra and färg (R:0)
Fre - notesui* (R:12)
Fre - 565 (R:0)
Fre - lästa and mail (R:0)




Databasstatistik Blogg
Uppdateras var 15:e Minut

Antal Poster:562
Antal Kommentarer: 1013
Alla sidvisningar idag:
Unika Besökare idag:
Databasstorlek: 157,5Mb
Fixup: 2016-06-30 00:30:52
FT:2016-07-01 14:53:12
DB Procent använd: 99,7
Antal Agenter: 42
Antal Formulär: 65
Antal Vyer: 60
Antal Dokument: 6970
Antal Image Resources: 108
Antal Subformulär: 18
Antal Scriptbibliotek: 11
Totalt Antal Designelement: 573
Antal Attachments: 159
Antal Konflikter: 0
Server version 1: 405
Server version 2: Release 9.0.1FP4 HF523|October 08, 2015
Server Plattform: Windows/64
Ändrad: 2016-07-01 15:35:20
Server Tidszon: Z=-1$DO=1$DL=3 -1 1 10 -1 1$ZX=97$ZN=W. Europe
Region:
Kommentarsspam Idag: 0
Kommentarsspam Totalt: 5886


BlogRankers.com

Top Sites at iWEBTOOL.com

Fight Spam! Click Here!

Bloggtoppen.se

Listed on BlogShares

Increase website traffic

Top Internet Blogs

Site Checker