4 messages in com.googlegroups.bloggerdevRe: Using Visual Basic 2005 .Net
FromSent OnAttachments
mai...@gmail.com01 Dec 2007 15:12 
Jeff Scudder03 Dec 2007 10:59 
mai...@gmail.com05 Dec 2007 13:48 
Jeff Scudder10 Dec 2007 11:19 
Subject:Re: Using Visual Basic 2005 .Net
From:Jeff Scudder (j.@google.com)
Date:12/10/2007 11:19:42 AM
List:com.googlegroups.bloggerdev

On Dec 5, 1:48 pm, "mai@gmail.com" <mai@gmail.com> wrote:

Now I can make login but can´t post...Get error on CreatedEntry...

Can Help Me?

Code:

Google.GData.Client.AtomEntry.CreatedEntry =
Service.Insert("http://www.blogger.com/feeds/" + "blogId" + "/posts/default",
NewPost)

The problem here is likely the quotes surrounding blogId. With quotes, the URL is

"http://www.blogger.com/feeds/blogId/posts/default"

If you remove the quotes like the below, then you will get the contents of the blogId variable, which is hopefully the ID of your blog.

"http://www.blogger.com/feeds/" + blogId + "/posts/default" creates something like "http://www.blogger.com/feeds/1234567/posts/default"

If you are still getting errors could you post your entire program? The more context the easier it is to see what is going on.

Happy coding,

Jeff

On 3 dez, 19:00, Jeff Scudder <j.@google.com> wrote:

On Dec 1, 3:12 pm, "mai@gmail.com" <mai@gmail.com> wrote:

Hi. I need help. I study all code but when I try to make login on blogger I get an error 401.

Can someone help me with some code please?

I´m creating an app to manage blogs on Blogger...

Sounds like maybe you had not sent your credentials to authenticate with Blogger. If your application runs on a PC, you will probably want to use client login, if it runs on the web (ASP .NET?), you should use client login.

See this section of the documentation for examples:

I'm also willing to look at your code if you don't mind posting. Did the link above answer your question?

Thank you,