Browse Source

Updating some text and links to the Prod docs URL.

Change-Id: If132f8018ab27b5ea6d79af0437b9ca17bc307d8
katowulf-pr-tpl
Nicolas Garnier 8 years ago
parent
commit
a4f769536b
  1. 8
      README.md
  2. 2
      instagram-auth/public/popup.html
  3. 2
      linkedin-auth/public/popup.html
  4. 2
      quickstarts/time-server/README.md

8
README.md

@ -1,12 +1,14 @@
# Firebase SDK for Cloud Functions Samples Library # Firebase SDK for Cloud Functions Samples Library
This repository contains a collection of samples showcasing some typical uses of Cloud Functions using the Firebase SDK for Cloud Functions. This repository contains a collection of samples showcasing some typical uses of Cloud Functions using the [Firebase SDK for Cloud Functions](https://firebase.google.com/docs/functions).
### What's Cloud Functions?
## Prerequisites Cloud Functions is a hosted, private, and scalable Node.js environment where you can run JavaScript code. Firebase SDK for Cloud Functions integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.
To learn how to get started with the Firebase SDK for Cloud Functions try the quickstart samples and have a look at [the documentation](https://firebase.google.com/preview/functions/). ## Prerequisites
To learn how to get started with the Firebase SDK for Cloud Functions have a look at our [Getting Started Guide](https://firebase.google.com/docs/functions/get-started), try the [quickstart samples](/quickstarts) and have a look at [the documentation](https://firebase.google.com/docs/functions).
## Use Cases and Samples ## Use Cases and Samples

2
instagram-auth/public/popup.html

@ -71,7 +71,7 @@ Please wait...
const script = document.createElement('script'); const script = document.createElement('script');
script.type = 'text/javascript'; script.type = 'text/javascript';
// This is the URL to the HTTP triggered 'token' Firebase Function. // This is the URL to the HTTP triggered 'token' Firebase Function.
// See https://firebase.google.com/preview/functions/gcp-events#handle_a_cloud_http_firebase_function_event. // See https://firebase.google.com/docs/functions.
var tokenFunctionURL = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/token'; var tokenFunctionURL = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/token';
script.src = tokenFunctionURL + script.src = tokenFunctionURL +
'?code=' + encodeURIComponent(code) + '?code=' + encodeURIComponent(code) +

2
linkedin-auth/public/popup.html

@ -71,7 +71,7 @@ Please wait...
const script = document.createElement('script'); const script = document.createElement('script');
script.type = 'text/javascript'; script.type = 'text/javascript';
// This is the URL to the HTTP triggered 'token' Firebase Function. // This is the URL to the HTTP triggered 'token' Firebase Function.
// See https://firebase.google.com/preview/functions/gcp-events#handle_a_cloud_http_firebase_function_event. // See https://firebase.google.com/docs/functions.
var tokenFunctionURL = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/token'; var tokenFunctionURL = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/token';
script.src = tokenFunctionURL + script.src = tokenFunctionURL +
'?code=' + encodeURIComponent(code) + '?code=' + encodeURIComponent(code) +

2
quickstarts/time-server/README.md

@ -9,7 +9,7 @@ The function `date` returns the current server date. You can pass it a `format`
Further reading: Further reading:
- [Read more about the Firebase SDK for Cloud Functions](https://firebase.google.com/preview/functions/) - [Read more about the Firebase SDK for Cloud Functions](https://firebase.google.com/docs/functions)
## Initial setup, build tools and dependencies ## Initial setup, build tools and dependencies

Loading…
Cancel
Save