Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I send Facebook notifications using the graph api? [duplicate]

I asked this on the Facebook Developers Forum with no responses.. How do I send notifications to users so they show up in the Notifications globe icon tab on the top left of a user's Facebook page? Some applications I use have their notifications show up there, but I don't see how that mechanism works in Facebook's API docs. Neither are there any permissions which seem to be required to send users notifications.

like image 564
at. Avatar asked Jul 24 '26 10:07

at.


2 Answers

I know this is an old post - but someone might stumble on it as I did, and find it useful: The notifications area in FB is updated by sending Requests which can be sent by using FB dialogs. The JS SDK provides the FB.ui() method to show dialogs for posting to stream, or sending a request.

More Info on FB: http://developers.facebook.com/docs/reference/dialogs/requests/

http://developers.facebook.com/docs/reference/javascript/FB.ui/

like image 135
oneamongu Avatar answered Jul 28 '26 03:07

oneamongu


Apparently facebook activate again the possibility to send notifications :

https://developers.facebook.com/docs/app_notifications/#ux

POST /{recipient_userid}/notifications?access_token= … &template= … &href= …
like image 37
R.Kueny Avatar answered Jul 28 '26 03:07

R.Kueny



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!