![]() ![]() Finally, you will use the code provided, along with your client ID and secret to get your access token which will be used to make any API requests. In the address, there will be url encoded parameters, one of which will be the authentication code. Once they have agreed, they will be sent to the address specified in your redirect URI. This will prompt the user to login with their own account and allow your solution to make changes to their calendar. To authenticate your solution, place the user into a web viewer at the API authentication screen. For any questions regarding how requests should be built, please reference the Google Calendar API Documentation. I suggest using the BaseElements Plugin as it is a free and powerful plugin that can handle all of our HTTP request needs. The example file uses these new functions.įileMaker can't set headers natively, and later on we will need to use a HTTP PUT command, so a plugin is needed in order to make any requests to the Google Calendar API. UPDATE: FileMaker 16 now includes the ability to set headers, which means a plugin is no longer required. Once you have your API information, you will need authenticate your solution with the Google Calendar API. Keep your client secret hidden from the world as the combination of the Client ID and Client Secret will be used to authorize your solution to make changes to the end user's calendar. Once the Client ID has been created, copy the Client ID and Client Secret into your solution. ![]() This is only used as a landing page for authentication and does not need to be anything special. ![]() You will also need to set the redirect URI to or any valid website that will not redirect to something else. We will be using HTTP requests, so you will want to mark that the API will be accessed via a web browser client and that you will be accessing user data. This will take you to a setup process where the API will be managed. Once you have created the project, you will then need to enable the Calendar API. ![]() The first step of this integration is to create a project in the Google Developers Console. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |