Google은 흑인 공동체를 위한 인종적 평등을 추구하기 위해 노력하고 있습니다. 자세히 알아보기

Snapchat Sticker Generator

Snap Inc.
Made by Snap Inc.

Creates custom Snapchat stickers based on product metadata.

이 확장 프로그램의 작동 방식

Use this extension to generate a custom Snapchat Camera sticker (png) and store on a Cloud Storage bucket for the purpose of sharing to Snapchat Stories using Creative Kit .

Creative Kit allows apps and websites to send content to Snapchat for sharing on Stories, while including a url attachment that helps to grow usage and awareness. This extension makes it easy to generate a sticker that is designed to be overlaid on top of the Snapchat camera ( SCSDKNoSnapContent ).

When calling the Snapchat sticker api, this extension:

  • Generates a new transparent png image to specification for sharing over Snapchat Camera with Creative Kit and Creative Kit Web
  • Customizes the image content based on the url and product schema or a provided url
  • Alternatively, customizes the image content based on the product and schema collection data of a Firestore product

Generated images can be cached by providing a path to store cached images.

Detailed configuration information

To configure this extension, specify a Cloud Storage bucket to store the generated images.

Product and Schema collections are optional and can be configured to allow stickers to be generated based on your own products.

Caching is an optional path for storing a generated image and is recommended for better performance.

Additional setup

Before installing this extension, make sure that you've set up a Cloud Storage bucket in your Firebase project.

In the Snap Kit Developer Portal you’ll need to create an account and register your app and/or website to enable sharing to Snapchat via Creative Kit. See docs here: Getting Started and Creative Kit .

Billing

To install an extension, your project must be on the Blaze (pay as you go) plan

  • Cloud Firestore
  • Cloud Functions (Node.js 10+ runtime. See FAQs )
  • Cloud Storage

You are responsible for any costs associated with your use of these services.

확장 프로그램 설치 방법

Firebase Console 사용

Firebase Console을 사용해 확장 프로그램을 설치하고 관리할 수 있습니다.

Console을 사용해 설치하기

Firebase CLI 사용

Firebase CLI를 사용해 확장 프로그램을 설치하고 관리할 수도 있습니다.

1단계: 다음 npm 명령어를 실행하여 CLI를 설치하거나 최신 CLI 버전으로 업데이트합니다.

npm install -g firebase-tools
작동하지 않는 경우 Firebase CLI 참조 를 살펴보거나 npm 권한 을 변경하세요.

2단계: 새 Firebase 프로젝트 디렉터리를 설정 하거나 기존 디렉터리로 이동합니다.

3단계: 다음을 실행하여 이 확장 프로그램을 확장 프로그램 매니페스트 에 추가합니다.

firebase ext:install snap/snapchat-sticker-generator --local --project=projectId_or_alias

Step 4 (Optional): Test this extension locally with the Firebase Emulator Suite

firebase emulators:start

5단계: 매니페스트의 확장 프로그램을 프로젝트에 배포 합니다.

firebase deploy --only extensions --project=projectId_or_alias
지원
Cloud Storage Cloud Firestore
작성자
라이선스
Apache-2.0
버전
0.1.0