[Mono-list] del.icio.us library?
Antonello Provenzano
antonello at deveel.com
Sun Apr 29 06:25:19 EDT 2007
Timothy,
Attached to this email you will find a copy of a NUnit TextFixture
that worked fine for me. Anyway, I do believe the error you've got
back is related to your allowance on the net (you've got not the
rights to open a trust connection to the webservice, Deveel.Delicious
is just a "bridge", it doesn't handle much of net-logic). You could
try to specify a proxy.
Cheers.
Antonello
On 4/27/07, Timothy Parez <timothy at saneprojects.be> wrote:
> Hi,
>
> I checked out the current SVN and tried the following
> // project created on 4/27/2007 at 8:25 AM
>
> using System;
> using Deveel.Delicious;
> namespace DelTest
> {
> class MainClass
> {
> public static void Main(string[] args)
> {
> DeliciousClient client = new
> DeliciousClient("myusernamehere","myverysecretpass");
> Console.ReadLine();
> DeliciousPostCollection posts = client.GetAllPosts();
>
> foreach(DeliciousPost post in posts)
> {
> Console.WriteLine("{0}\n
> \t{1}",post.Description,post.Url.ToString());
> }
> Console.ReadLine();
> Console.WriteLine("done");
> }
> }
> }
>
> I get the following:
> Unhandled Exception: Deveel.Delicious.DeliciousClientException: Error
> getting response stream (Trust failure): TrustFailure
> at Deveel.Delicious.DeliciousClient.GetAllPosts (System.String tag)
> [0x00000]
> at Deveel.Delicious.DeliciousClient.GetAllPosts () [0x00000]
> at DelTest.MainClass.Main (System.String[] args) [0x00016]
> in /home/timothy/sources/delicious/DelTest/DelTest/Main.cs:12
>
> but my username/password configuration is correct, unless I need to
> specify it in a different way ?
>
> Looking forward to using this library !! :)
>
> Timothy.
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DeliciousTest.cs
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20070429/69ee1529/attachment.pl
More information about the Mono-list
mailing list