FB内に操作ログ的なものをつけたいので
内部に
下記のような関数を作ると
エラーがおきる
回避策ありますでしょうか
var URL =‘https://script.google.com/macros/s/XXXXXXXXXXXX/exec’;
// 通信実行
$.ajax({
type : ‘post’,
url : URL,
crossDomain : true,
dataType : ‘json’,
data : {
address : ‘zip’,
language : ‘ja’,
sensor : ‘false’
},
success : function(resp){
alert(‘正’);
},
error: function () {
alert(“読み込み失敗”);
}
});
エラーメッセージ
Failed to load https://script.google.com/macros/s/XXXXXXXXXXXXXXX/exec: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://form.kintoneapp.com’ is therefore not allowed access.
クロスドメインを許可されていませんのメッセージなのはわかるのですが
以上よろしくお願いいたします。