Re: Authorization/ Authentication using jQuery POST method for Inserting new post ?
Deanna WebApp <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
Brett, I am having this same issue, I have authorized through the blogger but I cannot get a page like yours to work.Can you help me please On Monday, March 25, 2013 11:00:51 PM UTC-4, Brett Morgan wrote: > > Hi Senthil, > > The method you are after is documented in Adding a Post > <https://developers.google.com/blogger/docs/3.0/using#AddingAPost>. You > can try it out using the APIs Explorer > <http://developers.google.com/apis-explorer/#p/blogger/v3/blogger.posts.insert>. > Please note, you need to push the user through an OAuth2 auth cycle before > you can post on their behalf. See my sample app > <http://blogger-ckeditor-sample.appspot.com/> for example code. > > brett > > > On Mon, Mar 25, 2013 at 11:56 PM, Senthil Kumar M <[email protected] > <javascript:>> wrote: > >> >> *I am using jQuery AJAX GET type to retrieve posts from my blog and it >> works perfectly fine.* >> >> >> var APIKey = <MY API KEY>; >> var BlogID = <MY BLOG ID>; >> var URL = "https://www.googleapis.com/blogger/v3/blogs/"+ BlogID + >> "/posts?key="+ APIKey; >> >> $.ajax({ >> type: "GET", >> url: URL, >> contentType: "application/json;charset=utf-8", >> dataType: "json", >> success: function (blogData) { >> var totalItems = blogData.posts.totalItems; >> var blogName = blogData.name; >> } >> }); >> >> NOW *I like to Insert/Add a post into Blogger* using similar jQuery POST >> Method. >> >> Is there any Simple jQuery POST method where I could use do >> Authentication and Authorization similar to This. >> >> How to get Authorization code, Access Token using jQuery ? >> >> I am new to Blogger API and please *someone help me with an example or >> giving me code.* >> >> >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/bloggerdev?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > > Brett Morgan | Developer Relations Engineer, Google Maps | > [email protected] <javascript:> | profiles.google.com/brettmorgan > -- 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 http://groups.google.com/group/bloggerdev. For more options, visit https://groups.google.com/d/optout.