I am using AppInviteInvitation to let users invite other others for my app. Does anyone know if there's a way from the API to prevent users from these two scenarios:
already have the app installed
received the invitation previously?
Thanks!
Firebase App Invites does not allow you to get information on the list of users who has been invited before or already have an application in their smartphone.
I would recommend to use combination of "Firebase App Invites" and "Facebook App Invite".
Facebook App Invite take care of both the scenarios you mentioned:
1) Already have the app installed - If the user already have an app installed the users won't see your invite in their notification.
2) Received the invitation previously - If the users already received the invite before they won't receive it further after a threshold time.
But again you don't have any API to access this information, the above scenario is taken care by Facebook itself.
Google App Invites only allows you to find out the fact that you were invited, but does not store this information anywhere. You can use the services such as Kinvey, Deployd, PushWoosh and so on, in which you can record information about the invites sent in database. So if the invited user has an installed application you can fix the invoice repayment there, and the inviting user in the application sees how many invitations he has left to send.
Related
I'm building an iOS and Android app and I integrated the Facebook SDK to track app installs caused by a Facebook Ad. I'm able to see aggregated data in Facebook Analytics for my app, but I would like to be able to identify whether a given user in my database installed the app from a Facebook ad or not.
I set the UserID I have for my user in the App Events SDK using the setUserID method, but I was not able to filter the events reported by Facebook Analytics to get only data for the given user ID. Also, I would like a programmatic way to fetch this information so I can send it when the user registers (along the user profile).
Under the hood, the Facebook Analytics dashboard uses an undocumented GraphQL API endpoint analytics_query, would this endpoint support requests by User ID? Do I have to send this User ID as a custom parameter for an event?
In case this helps, my app also uses the Firebase SDK, but it seems the latter cannot identify people coming from Facebook Ads (which makes sense since it's made by Google).
Many thanks in advance for your help,
I am developing an app that would allow users to invite his friends to an event.
What I want to achieve is that when the host is inviting friends, he can invite those that are not on the app through a button. This would send a message to those invited friends that includes a link to install our app. Once they install the app, they can login and will immediately view events he is invited to. Can this be done?
The concern is that when the user who receives the invitation message and installs the app and logs on, how will the app know the person who logged in is the person that is invited in the first place? If the app cannot associate them, how can we provide the relevant events to him once he has logged in? Is what I want to achieve unattainable?
I think it might be done through the old Facebook API, but their new one will only allow an app to access a user's friends who are also on the app and not those that are not on the app. In this case, is there a way for us to pull the UID of those invited through FB's messaging dialog? And will this work with group chat?
I know that another way will be to do it via phone number confirmation and accessing the user's contacts, but I want the invitation process to be through facebook if that is possible.
Thank you all for your help in advance.
Lok
I am little bit confused about new api and app review steps of facebook api. I need to have facebook login and get the list of friends of a logged in user and sent invitation to use app for selected friends. What are the steps i should follow it? do i need to submit my app for review in facebook?
You can´t get all the friends of a user anymore, at least not for an Android App. You only get the friends who authorized the App too.
There is invitable_friends for inviting friends, but:
The Invitable Friends API is only available to apps classified as Games, which also have a Canvas presence. This API is not available in v1.0. It may be called by mobile games as long as they also have a Canvas presence.
You may want to read this too: https://developers.facebook.com/docs/apps/faq#invite_to_app
Facebook change there api police. if you do not get Friends to send invitation. if you want to do that then you need to submit your app for review by facebook team but if your app is Game then you able to do that.
But another way, you can do that, You can do it via facebook web-dialog to send invitation.
Thanks
In my web project, user will login using Facebook, Using my FB app I want to access users joined groups list. I want to show that list to the user. User will select the desired group from that list and submit it back in the website.
Accessing user group will require a facebook permission and review. I submit my app and I got this response- user_groups
General
The user_groups permission is only approved for apps that let people use Facebook on platforms or devices that don’t have a Facebook app. If you're building an app on Android, iOS, Web or Desktop, for example, you won't be approved for this permission.
I am not able to understand the meaning of it. Does anyone face the same issue?
My app logs in via facebook and all friends of facebook user logged is listed to be invited to download my app. I want guests to be advised via facebook through a notification.
I've done the test via "Graph Api Explore" as follows:
POST/{recipient_userid}/notifications? access_token = ... & template = John is inviting you to learn a new app. & href = ... "
but I noticed that the notification comes only to those who already have my application installed.
{return: "(#200) Cannot send notifications to a user who has not installed the app"}
how do I send notifications for facebook users that still do not have my application installed?
thks!
Because notifications are not meant to be used to invite friends. They're used to notify your app users of events happening in the app (e.g. if their high score was beaten in a game for example).
If you want to let your user invite friends to also use the app, I'd suggest you use the Request & Invite features of the Facebook SDK:
https://developers.facebook.com/docs/tutorials/ios-sdk-games/requests/
That tutorial shows you how your user can select a list of friends to invite and then write a message that will accompany the invitation.