Facebook notification issue - android

I am create an application which send the notification itself who login with the app. Notifications are showing in notification tab when i open facebook in web browser.But notification are not showing in facebook native android app which is install in our device.
Can any one please help me how to resolve it?

Currently, only apps on Facebook.com can use App Notifications. Notifications are only surfaced on the desktop version of Facebook.com.
Source: https://developers.facebook.com/docs/games/notifications

Related

OneSignal web view user based notification

I'm building a Webview (Android app) of a website that has register/login system.
Using OneSignal, now I need Android push notification to specific user that logged via the app.
Let's say:
User A has an account on www.mysite.com
The android app only loads www.mysite.com on a Webview
When User A logged in via the app, and do something, I need to send push notification to that user, to his android device
Does anyone know how to implement that?
Thank you.

How to get the onesignal notification from webview to andriod native notification

I am build an app based on webView. the website is already functional with oneSignal Notification (website is codeignator based). I want the same notifications to be thrown to the users of that APP webView.
You should set up push notifications for each channel (i.e: Web and Mobile). We have SDKs for both platforms making it easy to seamlessly send to both.
Read more here

Onesignal Webpush and Android

I'm building a Webview (Android app) of a website that has register/login system.
Using OneSignal, now I need Android push notification to specific user that logged via the app.
Let's say:
User A has an account on www.mysite.com
The android app only loads www.mysite.com on a Webview
When User A logged in via the app, and do something, I need to send push notification to that user, to his android device
Does anyone know how to implement that?
Thank you.

How to configure OneSignal Push on ionic so that push notification only opens app mainpage

I have installed onesignal push on my ionic app, it worked well but when i send web push and by clicking on that specific notification on my Android device it takes me to external browser to open that notification.
Now I want what ever type of notification i will send from one signal to my app it should only open app, not browser not more than that.
You must omit setting a Launch URL on the OneSignal dashboard or the url field if you are using the REST API. You will need to send two different notifications if you need to still direct the user to a specific URL for your web push users.
For opening a link with your app, you can use the custom-url-scheme cordova plugin . This enables you to open your app with an external link like testapp://path?foo=bar . Here is the link

Sending android app notification to facebook using facebook API Notification

Hi I want to send notifications from android app to facebook. To send facebook notification i got this link : https://developers.facebook.com/docs/concepts/notifications/ But i am not sure how to use this link in android to send notification.
Please can any body guide me for this?
You can't send notifications from an Android app. Tried to POST using the link you provided and got the following error:
{"error":{"message":"(#200) Only web canvas apps can send app notifications","type":"OAuthException","code":200}}
Maybe you could use this one:
https://developers.facebook.com/docs/android/send-requests/
We're not allowed to send notifications from Android app using the notifications API, nor sending App Requests from non game app using Requests APIs. I'm interested too to know how can we notify the user from non-game-android app.

Categories

Resources