Facebook App Invide V4.0 Notification

2019-09-02 15:03发布

问题:

I upgraded my apps (iOS and Android) to the new Facebook SDK (V4.0) to use the Facebook app invite. (See https://developers.facebook.com/products/sharing/app-invites).

My problem: when I send an invitation to a Facebook friend he gets a notification if he is using an Android device, but he doesn't get one if he is on iOS (even if he normally receives notifications from Facebook). Despite that, in both cases I can find the invitation in the Facebook app. So the problem is just about the notifications.

Do you know if Facebook has not implemented this part of their API or if I'm doing something wrong?

Thanks for your help.

回答1:

I'm on the Facebook developer advocacy team and can help answer this for you.

The best way to test this is to use test users. The reason is that we don't send a push notification if we think the person has installed the app. If you use test users, it should work.