fmOAuth v0.0.2 has been released

Hello.
I am Teruhiro Komaki of frudens Inc.

fmOAuth v0.0.2 has been released.

Please check the Release Notes for detail.

Personally, I think that it is great that you can use the API using any client!

By logging in to Google Cloud Platform with your own account, You created a client to use the API, and You made it available by passing the created client information as a script argument.

You login to Google Cloud Platform with your google account, create a client to use the API, and make it available if you pass the created client information as a script argument.

In addition, you can now download Gmail (via Gmail API).
If you run it on the server side, I think that you can sync Gmail.
I think that it is easy to incorporate it because it implements it only by Insert From URL without using a plug-in or the like.

Please look at the sample file and question if there are unknown points such as script!

Although story changes…

Currently, I create a template file that can easily incorporate FullCalendar that can be used in FileMaker Web Viewer.

I might like to sell it at the Web store, so it may be cheap, but it may be sold for a fee!

In that case, I think that you can purchase by all means m(__)m

If you have an API etc. that you would like to integrate, I hope that you can request.

checked the calendar library used in FileMaker Web Viewer

Hello.
I am Teruhiro Komaki of frudens Inc.

Since fmOAuth integration with Google Calendar, I thought that I wanted to implement it with a UI similar to Google Calendar.

So when I displayed the calendar with the Web viewer, I examined libraries that seemed to be good, so I would like to introduce it.

Please check the license etc. when using it.

FullCalendar

https://fullcalendar.io
https://github.com/fullcalendar/fullcalendar

filemaker-webviewer-calendar-library1

In FileMaker, speaking of the calendar, I think that it is a classic as FullCalendar.

Although I actually used it, since it is easy to use and there are also a lot of information, I think that it can be implemented relatively easily if it examines a little.

Because the document is easy to understand, I think that you can understand by reading.

License

MIT License

https://en.wikipedia.org/wiki/MIT_License

FullCalendar Scheduler

https://fullcalendar.io/scheduler/

filemaker-webviewer-calendar-library7

This is the FullCalendar add-on I mentioned earlier.

Since the license is different from FullCalendar, please check it when using.

License

https://fullcalendar.io/scheduler/license/

Continue reading →

tried integration between FileMaker and Google Calendar and downloaded Gmail using the function of fmOAuth (0.0.2)

Hello.
I am Teruhiro Komaki of frudens Inc.

Recently I wrote two simple articles.

developing Gmail API (download and send) to fmOAuth (0.0.2)

In fmOAuth (0.0.2), OAuth authentication (Google) implements a function that can use arbitrary applications

I thought that it would not be transmitted, and I tried moving the movie the first time.
I think that you can see what you can do when you watch the video.

This time, the sample file has been greatly modified.
I hope you will download it after release.

we will continue to develop!

After that, I would like to implement a calendar using the web viewer.

For “API integration test”, “Insert Text” is recommended

Hello.
I am Teruhiro Komaki of frudens Inc.

Insert From URL has been greatly improved than FileMaker 16.
The point that you can now use the cURL options is very big.

There seems to be many people who do not know, but even version 15 you could use httpspost etc.

https://www.filemaker.com/help/15/fmp/en/#page/FMP_Help%2Finsert-from-url.html

Insert From URL supports http, https, httppost, httpspost, ftp, ftps, and file protocols. FileMaker Pro downloads the resource that is specified by the URL to the target field.

However, when collaborating with external service, there are many things that can not be done with the default function, and I was executing the cURL command using BaseElements plugin.

https://baseelementsplugin.zendesk.com/hc/en-us/articles/203843738-BE-HTTP-POST

BE_HTTP_POST ( url ; parameters { ; username ; password } )

Does a http POST function and returns the results. This uses the curl library so output will be similar to that. This is used in conjunction with the BE_HTTP_Set_Custom_Header function to set custom headers in advance and the BE_HTTP_Response_Code and BE_HTTP_Response_Headers functions to get the result values after the POST is complete.

Take back the story.

When doing API integration, I write variously in the cURL option, but there are a few troublesome cases to write with the FileMaker calculation formula.

Continue reading →

In fmOAuth (0.0.2), OAuth authentication (Google) implements a function that can use arbitrary applications

Hello.
I am Teruhiro Komaki of frudens Inc.

Although it may be a bit hard to understand from the title, it is implemented so that you can replace the consent screen with any application, not fmOAuth(default).

That way, you can login to the console with your Google account, have the application created, and pass the arguments.

How to write your own app, write another article.

Consent screen of fmOAuth

The default agreement screen is as follows.

fmoauth-002-google-oauth-application1

Consent screen of arbitrary application

When creating an application on the console (GCP) and passing the information of the application as a script argument, the following agreement screen will be displayed.

fmoauth-002-google-oauth-application2

Continue reading →

1 Comment

developing Gmail API (download and send) to fmOAuth (0.0.2)

Hello.
I am Teruhiro Komaki of frudens Inc.

It is a blog after a long absence.

We released a beta version (0.0.1) of the solution fmOAuth at the end of last year (2017).

After releasing it, I could not develop for a while, but I have been working on development continuously as I got a little time.

We added a script to access Gmail API in this release (0.0.2).

As a result, you can download Gmail and you can send mail via API.

As for sending e-mail, I thought that it was unnecessary because I can send e-mail at the script step of the FileMaker, but I implemented it because it’s peculiar.

By the way, now it will be plain text transmission.

Gmail API

fmoauth-002-gmail-api-download-send1

Gmail API Response data

fmoauth-002-gmail-api-download-send2

Continue reading →