There are no notifications when an application sends an Invites event via Open Graph

My code looks something like this:

FB.api('/'+eventId+'/invited?users='+selectedFriends.join(','), 'post', { message: body }, function(response) { if (!response || response.error) { alert('Error occured, please try again. ('+JSON.stringify(response.error)+')'); } else { alert('Invites Sent! ' + response.id); } }); 

It sends invitations, but users do not receive a notification. The only way to find out that she was invited to an event is to check her list of events. I want to somehow notify the user - an e-mail message, a message on the wall or an application comes to mind, but I do not want to spam my users. How would you advise dealing with this situation?

+4
source share
1 answer

You should not use invitations. Invitations are specifically designed to be displayed in the user’s event list. But since you do not want to spam your users, your other options (email / wall message / application) will not work either, because they inevitably lead to spam by nature ...

So, make your choice: invites - it is recommended, but there is no active notification or e-mail / wall / application - most likely, it will be considered as spam, but an active notification.

I would suggest using invitations and not worry about users being actively notified. They are recommended by Facebook, fall within their scope of the game, and even if the notification is not obvious, this method has been quite effective for most applications so far;)

0
source

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


All Articles