OpenLiveWriter/docs/Connecting to Blogger From ...

1.9 KiB

Connecting to Blogger From a Local Build

If you have built Open Live Writer from code, you may experience a problem if you try and connect to your Blogger blog, you might see this error:

If you do, then you will need to do the following in order to use Live Writer with your blog.

  1. Head over to the Google developer console

  2. Create a new project

  3. Once created, the console will take you to the dashboard for that project, click where it says Enable and Manage APIs

  4. Search for the Blogger API

  5. Enable that API

  6. Click on Credentials on the left

  7. In the New Credentials drop down, choose OAuth Client ID

  8. If you haven't added any details for your project's consent screen, you'll need to do so at this point.

  9. When prompted for your application type, choose other, and just give it a name, then click Create

  10. You will then be shown the client ID and Client Secret that need to be used.

  11. In your Live Writer repository, go to \src\managed\OpenLiveWriter.BlogClient\Clients\GoogleBloggerv3Secrets.json and open it in a text editor.

Note: If this file does not exist, create it and add the following:

{
  "installed": {
    "client_id": "PASTE_YOUR_CLIENT_ID_HERE",
    "client_secret": "PASTE_YOUR_CLIENT_SECRET_HERE"
  }
}
  1. Replace the ClientId and Client Secret details where it says PASTE_YOUR_CLIENT_ID_HERE and PASTE_YOUR_CLIENT_SECRET_HERE respectively
  2. Now you should be able to build Live Writer again and connect your Blogger blog.