Using facebook api, I managed to send notifications perfectly fine, however I noticed that notifications can only be sent to facebook users that are not on mobile.. So all mobile users get NO notifications until they are on a PC.
My app is using 'Facebook canvas', and 'Website' in the developer settings.
Any help is greatly appreciated, thanks :)
The notifications are only surfaced on the desktop web version of Facebook
Source: https://developers.facebook.com/docs/games/services/appnotifications
Related
I have made facebook mobile web app.
It sometimes send the facebook push notifiactions.
Facebook web page(www.facebook.com) recieves the notifications well, but the facebook mobile app(iOS and android) doesn't.
Is it possible to send notification to the facebook mobile app from my facebook web app?
Thank you.
Are you using the notifications api ? If so, you should know it only sends out notifications on the website. From https://developers.facebook.com/docs/app-notifications/,
Note: Only apps on Facebook.com can use the Notifications API. Also these notifications are only surfaced on desktop version of Facebook.com.
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.
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 am creating an iPhone application using the Facebook SDK. How do I post a message to a selected friend such that the message can be found in their profile?
I have no idea how to implement this.
Facebook does not allow messages to be sent via the API at this time. Applications can send notifications, but nothing but Facebook has access to the message/inbox API yet.
How do I fetch the email of my friend programmatically in my facebook applicaiton. If facebook don't provide that functionality then can i provide the permission of my facebook application to get email address? If Yes then how?
Please can you provide code me.
Thanks
This is all easily possible. Just register a Facebook dev account and download their iPhone SDK.