Here is the run trace from running the example code under mono. Can you run the example code and contrast output?
cd "/Users/brettmorgan/Blogger/dot net/MonoProjects/MonoBloggerClient/MonoBloggerClient/bin/Debug"; PKG_CONFIG_PATH="/Applications/MonoDevelop.app/Contents/MacOS/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/2.8.1/share/pkgconfig:/Library/Frameworks/Mono.framework/Versions/2.8.1/lib/pkgconfig" PKG_CONFIG_LIBDIR="" PATH="/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Library/Frameworks/Mono.framework/Versions/2.8.1/bin/mono --debug "/Users/brettmorgan/Blogger/dot net/MonoProjects/MonoBloggerClient/MonoBloggerClient/bin/Debug/MonoBloggerClient.exe" brett.morgan@gmail.com XXXXXXXX; echo; read -p 'Press any key to continue...' -n1; exit
dhcp-172-23-10-172:~ brettmorgan$ cd "/Users/brettmorgan/Blogger/dot net/MonoProjects/MonoBloggerClient/MonoBloggerClient/bin/Debug"; PKG_CONFIG_PATH="/Applications/MonoDevelop.app/Contents/MacOS/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/2.8.1/share/pkgconfig:/Library/Frameworks/Mono.framework/Versions/2.8.1/lib/pkgconfig" PKG_CONFIG_LIBDIR="" PATH="/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Library/Frameworks/Mono.framework/Versions/2.8.1/bin/mono --debug "/Users/brettmorgan/Blogger/dot net/MonoProjects/MonoBloggerClient/MonoBloggerClient/bin/Debug/MonoBloggerClient.exe" brett.morgan@gmail.com 1n54n1ty; echo; read -p 'Press any key to continue...' -n1; exit
Retrieving a list of blogs
Blog title: Mouse's Rants
Blog title: Brett's other test blawg
Please select a blog on which to post.
Blog name: Mouse's Rants
Post to this blog? (y/n): y
Your new posts will be sent to http://www.blogger.com/feeds/7561782418501724314/posts/default
Publishing a blog post
New blog post created with title: Marriage!
Creating a draft blog post
New draft post created with title: Marriage! (Draft)
Press enter to delete the draft blog post
Retrieving all blog posts
Entry Title: Marriage!
Entry Title: Testing, testing, 1... 2... 3...
Entry Title: It's wet outside, but the music is cool
Entry Title: A thought experiment
Entry Title: Cool preso
Entry Title: Everything old is new again.
Entry Title: Mmm, stuff.
Entry Title: A whirlwind tour
Entry Title: Generating code...
Entry Title: Lisp vs MPS
Entry Title: Reflecting on Greenspun's Tenth Rule
Entry Title: Brain melt
Entry Title: So where now?
Entry Title: Rebuilding the world. Again.
Entry Title: It's knowledge, not intelligence.
Entry Title: Twitter
Entry Title: My head hurts.
Entry Title: Convergence
Entry Title: GMail outage...
Entry Title: System integration nightmares
Entry Title: Thoughts...
Entry Title: Code organisation...
Entry Title: A generated future
Entry Title: Antlr, a reflection
Entry Title: Google's approaches to concurrency
Retrieving posts using query parameters
Updating post
Press enter to update
Deleting post
Press enter to delete the new blog post
Please select a blog entry on which to comment.
Blog entry title: Testing, testing, 1... 2... 3...
Post a comment on this entry? (y/n): y
Your new comments will be sent to http://www.blogger.com/feeds/7561782418501724314/2688900987729097489/comments/default
Commenting on a blog post
Result's title: This is my first comment
Retrieving all blog post comments
Comment Title: This is my first comment
Deleting the comment
Press enter to delete the new comment post
Press enter to quit
Press any key to continue...
brett
On Tue, Jan 11, 2011 at 6:14 PM, Brett Morgan <brettmorgan@google.com> wrote:
Hi Sunil,ClientLogin works, and from memory it is how the previously linked example code works. Can you get that sample code to work as is?brett--On Tue, Jan 11, 2011 at 6:08 PM, Suneel MG <mgsuneel@gmail.com> wrote:Hi Brett MorganI am using ClientLogin Credential for Login In. does it allow for New Posting or shall i try for OAuth for authenticating serviceregardsSunilOn 11 January 2011 12:30, Brett Morgan <brettmorgan@google.com> wrote:
Hi Sunil,I have been using the code from http://google-gdata.googlecode.com/svn/trunk/clients/cs/samples/blogger/ConsoleSample.cs successfully inside of mono as a standalone application, once I sorted out the appropriate way to add the references to the Blogger GData API assemblies.My question given your screen shot is how are you authenticating the service? Are you using ClientLogin or OAuth? Posting something using the API requires that you be authenticated.brett
On Tue, Jan 11, 2011 at 5:49 PM, Suneel MG <mgsuneel@gmail.com> wrote:--Hi,Brett MorganI am attaching the snap shot of the error page. i think u will get the idea about it.i implemented waht ever in the page http://google-gdata.googlecode.com/svn/trunk/clients/cs/samples/blogger/ConsoleSample.cs
RegardsSunilOn 10 January 2011 18:35, Brett Morgan <brettmorgan@google.com> wrote:Ok, you have me at a disadvantage here. I don't know ASP coding at all, and I'm still figuring out c#, so you are going to have to help me here by boiling this down to a simple command line app that displays this issue.That, and I'm working in mono on OSX. Y'know, just to make things interesting.
On Mon, Jan 10, 2011 at 6:38 PM, Suneel MG <mgsuneel@gmail.com> wrote:Brett Morgan ,Please find the sample code. it Starts from Login.aspx. where one need to provide the blogger username and password.i am getting the error on click of new post after submittiing the submit button at home.aspx.cs at line number 81.Thank youkind regardsSunilOn 10 January 2011 12:00, Brett Morgan <brettmorgan@google.com> wrote:--Is your code base small enough to mail it to me?
On Mon, Jan 10, 2011 at 5:19 PM, suneel <mgsuneel@gmail.com> wrote:I am trying to integrate Blogger in c# using the code that is been
provided in the link
"http://code.google.com/apis/blogger/docs/2.0/
developers_guide_dotnet.html"
but i am able to get the Blogger List, but the problem is when i try
to create new Post, while executing service.Insert(blogFeedUri,
newPost) method i am getting error like
"Execution of request failed: http://www.blogger.com/feeds/06219754603634313849/posts/default"
GDataRequestException
Please Help
Thank you.
Sunil
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
--
Brett Morgan
Developer Programs Engineer, Blogger
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
--
Regards
Sunil......
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
--
Brett Morgan
Developer Programs Engineer, Blogger--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
----
Brett Morgan
Developer Programs Engineer, Blogger
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
--
Regards
Sunil......
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
--
Brett Morgan
Developer Programs Engineer, Blogger
--
Brett Morgan
Developer Programs Engineer, Blogger
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
No comments:
Post a Comment