skip to Main Content

Google captcha with svelte-Twitter bootstrap

So I had an issue with svelte and google Recaptcha API. My main HTML file <!DOCTYPE html> <html lang="en"> <head> <meta charset='utf-8'> <meta name='viewport' content='width=device-width,initial-scale=1'> <title>Svelte app</title> <link rel='icon' type='image/png' href='/favicon.png'> <link rel='stylesheet' href='/global.css'> <link rel='stylesheet' href='/build/bundle.css'> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">…

VIEW QUESTION

How to code in app secrets and tokens for Facebook authentication in Google Scripts without having the credentials in the script? – Facebook api

I have a script that can obtain successfully from the Facebook oAuth API: function getToken() { var appId = "XXXXXX"; var clientSecret = "XXXXXXXXXXXX"; var url = "https://graph.facebook.com/oauth/access_token?client_id="+appId+"&client_secret="+clientSecret+"&grant_type=client_credentials"; var response = UrlFetchApp.fetch(url); var queryResult = response.getContentText(); var token = queryResult.slice(13);…

VIEW QUESTION
Back To Top
Search