Google Groups Home
Help | Sign in
AuthSub Error using javascript blogger api
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Connie C  
View profile
 More options Apr 26, 7:42 pm
From: Connie C <connie.cl...@gmail.com>
Date: Sat, 26 Apr 2008 16:42:45 -0700 (PDT)
Local: Sat, Apr 26 2008 7:42 pm
Subject: AuthSub Error using javascript blogger api

I am using the blogger data api (in javascript)
to support 'promoting' posts

from the :: wsu-bw-island-bulletinboard-DRAFT  blog
-to- the :: wsu-bw-island-bulletinboard        blog

both hosted at blogspot.com

All works well when the two blogs are marked as
readable by anyone.  I can download the posts
from the draft blog, then upload the one I
want to the 'real' blog.

However, when I mark the -DRAFT blog as readable
by authors only (so they have a safe place to
try out new content), my request for that
blog's posts triggers the error:

   " Request via script load timed out.
     Possible causes: feedURL is incorrect; feed requires
authentication."

google.accounts.user.checkLogin returns
        "2/_qKF1HoQMfPlwTPW9LYWrYPiAJ-trg6WyvhPNYlGy_A"

I have read over the AuthSub documentation MANY times,
and searched for "AuthSub javascript" on the Blogger Data API group
and I do not see what I am doing wrong.

I am admin on all 4 blogs.

===================================

You can see the erroneous operation at:

http://beachwatchers.net/util/blog/copyDraft.php?blogID=2146455985157...

===================================

You can see the correct operation at:
http://beachwatchers.net/util/blog/copyDraft.php?blogID=7352604413014...
  which will copy a post from wsu-bw-island-beachlog-draft  blog
                           to wsu-bw-island-beachlog blog

===================================

All of my blogger api code is at
  http://beachwatchers.net/code/js_util/blogPromote.js

===================================

I will probably have to add you as an author
to the blogs
for you to see these scripts working  (and NOT !)

Connie Clark


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Scudder  
View profile
 More options Apr 29, 5:16 pm
From: Jeff Scudder <j...@google.com>
Date: Tue, 29 Apr 2008 14:16:47 -0700 (PDT)
Local: Tues, Apr 29 2008 5:16 pm
Subject: Re: AuthSub Error using javascript blogger api

On Apr 26, 4:42 pm, Connie C <connie.cl...@gmail.com> wrote:

Hi Connie,

I'm guessing that the problem is related to the way in which the feed
for a particular blog is being fetched. I'm looking into the issue for
more ideas, but the first thing that you might want to try is use
getFeed instead of getBlogFeed in your retrieveBlogsForUser function.
Does this make any difference?

Cheers,

Jeff


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Connie C  
View profile
 More options May 1, 1:16 pm
From: Connie C <connie.cl...@gmail.com>
Date: Thu, 1 May 2008 10:16:08 -0700 (PDT)
Local: Thurs, May 1 2008 1:16 pm
Subject: Re: AuthSub Error using javascript blogger api
When I use getFeed instead of getBlogFeed -
it causes a javascript error
   myG.draftBlog.getFeedLink is not a function
in handleBlogsForUser()

On Apr 29, 2:16 pm, Jeff Scudder <j...@google.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Scudder  
View profile
 More options May 2, 6:57 pm
From: Jeff Scudder <j...@google.com>
Date: Fri, 2 May 2008 15:57:18 -0700 (PDT)
Local: Fri, May 2 2008 6:57 pm
Subject: Re: AuthSub Error using javascript blogger api
Hi Connie,

I'm beginning to wonder if the Auth isn't happening in the correct
order. Could you add me as an author to try this out? My test account
is jeffreyscudderinternalt...@gmail.com.

On May 1, 10:16 am, Connie C <connie.cl...@gmail.com> wrote:

> When I use getFeed instead of getBlogFeed -
> it causes a javascript error
>    myG.draftBlog.getFeedLink is not a function
> in handleBlogsForUser()

You might consider trying  getLinks() and iterating over the links,
since the draftBlog is an Entry, it doesn't have a getFeedLink()
method.

Thank you,

Jeff


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google