I'm trying to send notifications to user through an app, but they don't show in any mobile device.
For example, the user makes an action that sends a notification o other user. If he is on a Computer browser he can see the notification, but in iOS/Android/Mobile Facebook the notification don't show up.
Can you guys help me?
Regrads,
Elkas
Are you talking about the Notifications API where you make a POST request to /{recipient_userid}/notifications?
If so, this is intended behaviour. From the docs:
Note: Only apps on Facebook.com can use the Notifications API. Also
these notifications are only surfaced on desktop version of
Facebook.com.
Related
How do I make my mobile game send a request that is shown as notification like in Candy Crush Saga game.
I went through this App requests successful, but no notification shown but can't find the solution. I don't know what to put in my canvas URL.
GAME is developed in Unity3d.
Solved ..... Your mobile app must pe on facebook (i.e on facebook appcenter ) ..then only it will be shown as notification
I faced the similar issue .. there is something that need to be done on FB App settings->Basic, Add another platform "Facebook Canvas". This solved the issue
The canvas apps means- the apps displayed inside facebook.com.
I think you are having the mobile app not a canvas app, so Notification API, which is still in beta do not supports the notification in mobile. Acc to doc-
Currently, only apps on Facebook.com can use App Notifications. Notifications are only surfaced on the desktop version of Facebook.com
So instead of notifications API, you can use different kind of Requests- whichever is more significant in your case.
Recently I have developed a Facebook Application to post photos. Each time it posts photos I get a notification which is quite annoying. Is there any way to stop this notification. I have read the documentation and nothing is mentioned for it. There is an option in Facebook to close a type of notification and such notifications don't show up in future. But there is no close icon for the notifications from my app. Is there any parameters or option that I have to change while creating the app. I want to turn off notification for my Application.
Please help
In my app, I can send the apprequests to my friends via FB api, and they can receive the Notification on iOS Facebook app. But here is a difference between "apprequest" and "postToWall". If I posted to my friend's wall something via Web, my friend would receive "Push notification" on his iPhone immediately. If I sent the apprequests to him, he wouldn't receive "Push notification" and just only "Facebook notification". Moveover, he needs to run the iOS Facebook app to update the data to receive the "Facebook notification".
Does anyone know this ?
For the app requests to work fully, you need to have a canvas app specified. Otherwise the notifications won't work as expected. From
http://developers.facebook.com/docs/reference/dialogs/requests/
Requests are only available for Desktop Canvas apps and not websites.
Accepting a request will direct the user to the Canvas Page URL of the
app that sent the Request.
More information can also be found here: http://developers.facebook.com/docs/requests/
Thanks a lot . And I found this http://developers.facebook.com/bugs/283253458391756 .
Moveover , my application works right after removed the parameter "notification_text" when using api "apprequests". It looks the FB demo Hackbook just misgruided me .
i have developed facebook chat app for iphone using XMPP.
But the app can not get push notification from Facebook. How can i get push notification from Facebook on my application?
Rather than polling continuously, you should try to use Facebook's realtime updates API where applicable.
https://developers.facebook.com/docs/reference/api/realtime/
It's only applicable for certain kinds of content, but if it covers what you need, it'll be more efficient than polling like prasanna suggests.
Basically Facebook will send a request to a URL on your server whenever an event happens. The handler for that URL should then be responsible for sending the push notifications.
You can't bring Facebook to send a push notification to your app, you would have to set up a web server that continuously polls Facebook for changes and then sends a push notification to the iOS device when it detects a change.
I'd like to be notified of certain events on my webserver with a push notification from my website to my iPhone. Is this somehow possible, or do I have to install/create a special App for this?
In order to use Push Notification it would have to be a native iPhone app on your phone. You might be able to set up some sort of email notification coming from your website and turn on push notifications for your mail client on your iPhone.
In regards to #gnuf's post (Sorry it wouldn't let me comment on your post) Your web server can act as the Provider of Push Notifications but will still require a native application on the phone to receive the notifications.
You can definitely send notifications triggered from a website: you just have to hook up the backend to do so. See this previous post for more information.