Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase invites - facebook and twitter options

I have Firebase invites working with email and SMS just fine. I'm clueless when it comes to sharing via Facebook or twitter however. What are my options for sharing data with invites to facebook via Firebase? I can't find any info on this anywhere - except that Facebook offers its own invite api. I'm trying to just use Firebase if possible though, so I'm just trying to figure out how to customize the "share sheet" that I see referenced in various loctions online (without much info associated with those references). I can't tell if the share sheet is just a list of actions that I need to handle my own way, with just the email and sms option handled by google and I handle the rest of the options using the various apis out there.

In my current implementation, I use the deep link that the invite exposes and store the id of some data that I want the specific user to have access to. Then store that data in a firebase database. But what is the correct method to share to facebook users? Is it to just use facebook's api and expose it somehow in my own "custom share sheet"? Where can I find documentation on the share sheet?

Thanks for clarifying any of this if you can!

Cheers, Mike

like image 483
Mike Avatar asked Mar 28 '17 02:03

Mike


People also ask

What is Dynamic Link in firebase?

Dynamic Links are smart URLs that allow you to send existing and potential users to any location within your iOS or Android app. They survive the app install process, so even new users see the content they're looking for when they open the app for the first time. Dynamic Links are no-cost forever , for any scale.

How do you invite new apps?

The invites can be sent out over SMS or emails which include an “install” button right in the body of the message. On Android, the install process is even easier – users click on “App Invite” and can immediately download the app from the Google Play store without first being taken to a web browser in between.


1 Answers

Currently I believe the only way to share to sources other than Email & SMS you would need to implement your own custom sharing functionality. It's hinted at in the Invites Documentation Best Practices section titled "Build a Custom Share Sheet".

Firebase Invites is built on top of Firebase Dynamic Links so if you want a link that takes the users to the app store to install your app you can create a simple dynamic link using one of these methods.

For implementing custom share sheets it depends on your platform as each has a different way of implementing sharing functionality.

like image 133
adamduren Avatar answered Oct 18 '22 20:10

adamduren