应用程序发送活动时无通知通过打开图形邀请 [英] No Notification when App sends event Invites via Open Graph

查看:123
本文介绍了应用程序发送活动时无通知通过打开图形邀请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码看起来像这样...

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 invites, however the users don't receive a notification. The only way the user knows that she was invited to the event is to check her Event list. I want to notify the user somehow -- an email, wall post, or app request comes to minds -- but I don't want to spam my users. How would you suggest dealing with this situation?

推荐答案

那么你不应该使用邀请。邀请专门用于出现在用户事件列表中。但是,由于您不想对用户进行垃圾邮件,因此您的其他选项(电子邮件/墙贴/应用请求)将无法正常工作,因为它们不可避免地会导致垃圾邮件的发生。...

You shouldn't use invites then. Invites are specifically intended to appear in a user event list. But since you don't want to spam your users, your other options (email/wall post/app request) won't work either, because they're inevitably leading to spam by nature...

所以请选择:邀请 - 推荐的方式,但没有活动的通知,或电子邮件/墙上的邮件/应用程序请求 - 可能被视为垃圾邮件但是主动通知。

So make your choice: invites - recommended way but no active notification, or email/wall post/app request - likely to be considered as spam but active notification.

我建议使用邀请,而不用担心用户被主动通知。它们是由Facebook推荐的,属于他们的游戏框架,即使通知不明显,该方法已被证明对大多数应用程序来说都是非常有效的;)

I'd advise to use invites and not to worry about users being actively notified. They are recommended by Facebook, fall into their game framework, and even if the notification is not obvious, the method has proven to be quite effective for most apps until now ;)

这篇关于应用程序发送活动时无通知通过打开图形邀请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆