Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Can't post a story via the API
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kane  
View profile  
 More options Dec 2 2011, 4:49 am
From: Kane <kane.web.market...@gmail.com>
Date: Fri, 2 Dec 2011 01:49:20 -0800 (PST)
Local: Fri, Dec 2 2011 4:49 am
Subject: Re: Can't post a story via the API
I'd also like to know this, having the same problem.  Using CAPTCHA in
an API sorta defeats the purpose of the API ;)

Cheers,
Kane

On Nov 10, 10:55 am, Atiaxi <ati...@gmail.com> wrote:

> Hello,

>   I'm currently writing a bot to try to help me keep a personal
> subreddit in order.  Its job is to post a self post, and then put
> 'next' links in the previous entries, so they're all linked together.
> Like the subject says, I can't post a story via the API.  I can log in
> okay, but when I attempt to POST to /api/submit with all the required
> information I don't get a reply that looks like any of the replies
> documented on the API page.  Instead, I get:

> {"jquery":[
> [0, 1, "call", ["body"]],
> [1, 2, "attr", "find"],
> [2, 3, "call", [".status"]],
> [3, 4, "attr", "hide"],
> [4, 5, "call", []],
> [5, 6, "attr", "html"],
> [6, 7, "call", [""]],
> [7, 8, "attr", "end"],
> [8, 9, "call", []],
> [1, 10, "attr", "captcha"],
> [10, 11, "call", ["IXHVetHj5nUk4JCbPkZOfHZZxvt0hbPJ"]],
> [1, 12, "attr", "find"],
> [12, 13, "call", [".error.BAD_CAPTCHA.field-captcha"]],
> [13, 14, "attr", "show"],
> [14, 15, "call", []],
> [15, 16, "attr", "text"],
> [16, 17, "call", ["care to try these again?"]],
> [17, 18, "attr", "end"],
> [18, 19, "call", []]
> ]}

> I'm guessing from this it's expecting a CAPTCHA and, as that's
> designed explicitly to catch bots, that's exactly what it did.  I've
> done everything I can think of to try to convince reddit that the
> bot's allowed to post in the subreddit - I put it on the list of
> 'approved submitters', I verified its e-mail, I even made it a mod,
> but I keep getting this response.  Is there any way to fix this?

> Perhaps offtopic:  I recognize the format of the return message as
> JSON, but what the heck is it trying to tell me?  Those fields mean
> nothing to me, unlike (for example) the kind of JSON response I get
> after logging in, which is very straightforward.

> Thanks,

> --
> Roger


 
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.