O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

Snapchat Sticker Generator

Snap Inc.
Made by Snap Inc.

Creates custom Snapchat stickers based on product metadata.

Como esta extensão funciona

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.

Como instalar a extensão

Como usar o Console do Firebase

Para instalar e gerenciar extensões, use o Console do Firebase.

Instalar usando o console

Como usar a Firebase CLI

Para instalar e gerenciar extensões, também é possível usar a Firebase CLI:

Etapa 1: execute o comando npm (em inglês) a seguir para instalar a CLI ou atualizá-la para a versão mais recente.

npm install -g firebase-tools
Não está funcionando? Consulte a referência da Firebase CLI ou altere suas permissões do npm (em inglês).

Etapa 2: configurar um novo diretório do projeto no Firebase ou acessar um já configurado

Etapa 3: adicionar esta extensão ao seu manifesto de extensões ao ser executada

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

Etapa 4 (opcional): testar a extensão localmente usando o Pacote de emuladores do Firebase

firebase emulators:start

Etapa 5: implantar as extensões do seu manifesto ao projeto

firebase deploy --only extensions --project=projectId_or_alias
Compatível com
Cloud Storage Cloud Firestore
Licença
Apache-2.0
Versão
0.1.0