Unity Facebook SDK appInvite not showing notifications - facebook

I'm implementing a game which features inviting your Facebook friends to your app using the Facebook SDK.
The code I'm using is:
FB.Mobile.AppInvite (new System.Uri(appLink), null, callback);
The app link is the proper one setup in the facebook page of the app.
The problem is this: the user doesn't receive a notification inside the FB app to install my game. Instead, you have to go to the Facebook App -> Apps -> App invites and it appears there. In the Facebook docs it says the user should receive a notification to invite.
What is the issue here?
PS: the app is not live yet, but the friends that are invited are set as testers.

Related

Facebook Unity SDK AppRequest not showing notification [Android]

I am making game with Unity v5.2.1 + Facebook Unity SDK v7.2.0 for android. My game have feature to invite friends. This feature implemented by calling FB.AppRequest() function.
It works quite well, but the problem is my friend not receiving an android notification. The only way to know that the invitation is sent, is by opening facebook android app and click the world icon (notification page) on facebook.
How can i show an android notification when invitation is sent to friend?
Facebook does not do that for you automatically. You need to implement this system yourself.
Here is how I would do it:
A sends AppRequest to B in you app
In the callback, you know the target ids from the "to" list, report that to your server if you have one (and it is required for this system to work)
Server sends a push notification to the target device that is associated to the target facebook user id

Invite user to install an iOS App using Facebook sdk without FBWebDialogs

I have an iOS Bussiness app, which used Facebook to login. Now I have access to the friends list. Is there a way to send a request to a Facebook friend (who is currently not using app) to install my App. My app is Bussiness app category not the game.
this site shows all the information that you want:
https://developers.facebook.com/docs/games/invitable-friends/v2.2

My Facebook App notifications only show on facebook.com, not in the iOS app

I'm working on a mobile web app. I send notifications to users via facebook with the folowing api:
https://developers.facebook.com/docs/games/notifications/
This works, the notification show up on facebook.com. But they are not showing up in the facebook app, which is what I want.

How should my users invite their Facebook friends to use my web app?

We have an app where users interact in small private groups. We want to allow our users to invite their Facebook friends into a group. We previously posted a private link on a friend's timeline but Facebook disabled that last week: https://developers.facebook.com/roadmap/#february-2013
The apprequest dialog will not work as it is limited only to canvas and mobile applications:
Requests are only available for Desktop Canvas, iOS and Android apps. Accepting a request on Canvas will direct the user to the Canvas Page URL of the app that sent the Request. For native mobile apps, accepting the request will direct the user to the app on their device if installed or to the appropriate location (Apple App Store or Google Play) to download the app otherwise.
from: http://developers.facebook.com/docs/reference/dialogs/requests/
I was thinking of using Facebook Open Graph and creating an action and mention tagging, but that seems like a hack, and I dont think engagement will be as high.
What do you think the best way to do this is?
Thanks!
Use Send to invite them in a private message.
https://developers.facebook.com/docs/sharing/reference/send-dialog

On FACEBOOK ios app can't got "push notification" via sent apprequests?

In my app, I can send the apprequests to my friends via FB api, and they can receive the Notification on iOS Facebook app. But here is a difference between "apprequest" and "postToWall". If I posted to my friend's wall something via Web, my friend would receive "Push notification" on his iPhone immediately. If I sent the apprequests to him, he wouldn't receive "Push notification" and just only "Facebook notification". Moveover, he needs to run the iOS Facebook app to update the data to receive the "Facebook notification".
Does anyone know this ?
For the app requests to work fully, you need to have a canvas app specified. Otherwise the notifications won't work as expected. From
http://developers.facebook.com/docs/reference/dialogs/requests/
Requests are only available for Desktop Canvas apps and not websites.
Accepting a request will direct the user to the Canvas Page URL of the
app that sent the Request.
More information can also be found here: http://developers.facebook.com/docs/requests/
Thanks a lot . And I found this http://developers.facebook.com/bugs/283253458391756 .
Moveover , my application works right after removed the parameter "notification_text" when using api "apprequests". It looks the FB demo Hackbook just misgruided me .