Re: blogger api (v3) python query...
Esbo dv <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
There is a way to retrieve these comments. You need API v3 method blogger.comments.listByBlog.
You need to be authorized and at minimum set the following parameters: {
blogId : id, status: 'pending' }.
You can try this out in the api explorer:
https://developers.google.com/apis-explorer/#p/blogger/v3/blogger.comments.listByBlog
.
I used this exact method in this chrome extension
https://chrome.google.com/webstore/detail/ifipmflagepipjokmbdecpmjbibjnakm so
definitely it is possible.
On Monday, January 23, 2017 at 6:26:55 PM UTC-5, sittukkuruvi wrote:
>
> Hi,
> I am writing a python script to create post, update post and approve
> comments "awaiting moderation". As of now I am able to create and update
> post. But I am unable to even retrieve comments that are awaiting
> moderation. I use comments.list with ADMIN as view parameter.
>
> comment_request = comments.list(blogId=blog['id'], postId=post['id'],
> view='ADMIN')
>
> But still it does not work. I created the OAuth Id using "Other" option.
>
> By default all comments posted in the blog are moderated. Through python
> script I need to view comments that are awaiting moderation and then should
> be able to approve it. Please advice.
>
> Regards,
> Kumaran.
>
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.