Last active
June 11, 2017 03:56
-
-
Save xlbruce/798421278b777213e017883f0adbd71b to your computer and use it in GitHub Desktop.
Simple workflow description describing how to insert a new post using Blogger API v3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a post flow: | |
1- Generate an access token: | |
//TODO search how to do this programmatically | |
2- Send a request to blogger with post content | |
URI: https://www.googleapis.com/blogger/v3/blogs/$blogId/posts | |
Header: | |
Content-Type: application/json | |
Autorization: Bearer /* Access token*/ | |
Body: | |
{ | |
"kind": "blogger#post", | |
"blog": { | |
"id": "$blogID" | |
}, | |
"title": "A new post", | |
"content": "With <b>exciting</b> content..." | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, can you make sample of this ? i've been searching whole weeks but nothing found .
i want to post article to blogger using javascrip blogger API.
thanks