Simple Samples/Tests for Blogger API Version 3 (v3.0) used from HTML & JavaScript
I tested the above source code with an API key I generated and the code largely worked as expected. One strange issue is that at times refresh/reload of page does not work as expected. That issue is mentioned in the source code. I do not have the time now to investigate it.
One challenge for publishing plain vanilla JavaScript and HTML which uses Blogger API v3.0 seems to be that of hiding the API key.
References for above source code:
- Using Blogger RESTful API from HTML/JS file: https://developers.google.com/blogger/docs/3.0/getting_started#JSONP
- Blogger REST API formats and examples: https://developers.google.com/blogger/docs/3.0/getting_started#REST
- [Blogger] Acquiring and using an API key: https://developers.google.com/blogger/docs/3.0/using#APIKey
- [Blogger] Authorizing requests and identifying your application: https://developers.google.com/blogger/docs/3.0/using#auth
Comments
Post a Comment