Send a Facebook app notification from Node?

The Facebook JavaScript API lets you send app notifications from your client-side app:

FB.ui({ method: 'apprequests', message: 'Test Request' })

...which results in an app notification:

How can I reproduce this behavior on the server side through Node?

(The Graph API has no method to do this. I looked.)


You're talking about Requests, and the documentation is over in the Dialogs section (see also the Request docs). If you get permission from the user to send Frictionless Requests, you can do this programmatically; otherwise, you have to show a request dialog (either via a popup for using a redirect).

Need Your Help

Can't restore my distribution DB postgres 9.2 backup into my staging DB postgres 9.3

postgresql windows-server-2008-r2 postgresql-9.2 postgresql-9.3

I keep getting this pg_restore: [archiver] did not find magic string in file header when i execute a pg_restore -Fc -U "username" -d "dbname" "filename".dmpon my staging DB.