I have quite silly question: how to send notifications? For example, when I register user on my app, I want to welcome him/her with notification.
Asked
Active
Viewed 888 times
2 Answers
2
Assuming you're using Facebooker (which, really, you should be), you can create a Publisher class.

Tim Sullivan
- 16,808
- 11
- 74
- 120
0
You can also use facebook_session.send_notification([user_fb_id], "notification message") (in your controller). This will be an app-to-user notification, and you have a limited number that you can send to users each week.
To see this limit you can use the following call: Facebooker::Session.create.post('facebook.admin.getAllocation', :integration_point_name => 'announcement_notifications_per_week')

Gdeglin
- 12,432
- 5
- 49
- 65