Forum Discussion
eraserqueen
3 years agoExplorer
Oculus notifications are sent "successfully" but never received by users
Hello there 🙂
I'm implementing social notifications for our app, so we send a notification when users share in-app creations with their oculus friends. Problem: the oculus API is returning success responses, but users are not receiving anything.
Dashboard setup:
- we've created an Event-Based notification in the dashboard, using the category "Social"
- it's been reviewed and approved, and has the id "123123123123"
App setup:
- authenticate in-app using the SDK with Users.GetLoggedInUser()
- retrieve Friends with Users.GetLoggedInUserFriends()
- get the current user access token with Users.GetAccessToken()
- send a request to https://graph.oculus.com/123123123123/triggered_notifs_with_text_map?recipient_ids=[987654897465]&access_token=FRLA...FkNsQT0aCbxoymIoZD
- on our logs, we can see the response from the api is { success: true }
...but nothing is ever received by users
The only way I managed to receive a notification was to curl the graph.oculus.com endpoint directly with my own OculusId as the recipient and my own AccessToken, essentially sending a notification to myself. Any other recipients will not receive the notification, despite us being mutual follows.
What am I missing?
2 Replies
- swappyMaineProtege
btw
what is even the difference between "social" and "event" based for example ?
besides using app credentials and not user token. - msanatanExplorer
I'm having the same issue. None of my promotion notifications were working, but the social ones did. I checked VR settings and notifications were enabled. I checked my phone settings and notifications for my app were enable, exception for promotional ones.
Now notifications work as expected. However, if this is the default setting for promotions, I'm not sure but I don't recall switching this off, then it's never going to reach a lot of people.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago