FBSDKAppInviteDialog is invited to send successfully, but no notifications have been received

What am I doing?

I am trying to send an invitation to my friends from Facebook using FBSDKShareKit .

Does he work?

YES - but only with test users (and not with real users).

What is the problem?

  • Receive push notification for invitation
  • Receive notifications inside the Facebook app
  • Ability to view invitations
  • If the application is installed, Facebook redirects to the else application, opens the AppStore for installation.

They all work fine - but only with test users, and not with real user accounts.

Some facts:

  • My Facebook app is available live and available to the public.
  • The application I'm trying to invite to does not work yet. Therefore, I am using the application identifier of another application. However, this works (as I explained above).
  • With real user accounts, its a working success display as soon as I invite other users, but they will never receive push notifications and application notifications at this invitation.

Your suggestions?

  • As you know, this is really strange! It works with test users, not real users, what am I doing wrong?
  • Any things I'm missing?
  • How can I make sure that it will work with real accounts when my application is live?
+6
source share
1 answer

The answer to my question that I received while writing the question, since I wrote it for too long, I decided to leave it here and give an answer.

I have not received push / notifications for real users since I am trying to invite users who have already allowed my application. Since for real users it is required to remove my application from their Facebook settings [Settings> Applications] , and then, if I send him a request, he will receive it.

+5
source

Source: https://habr.com/ru/post/987719/


All Articles