Your English is wonderful, hkweb. To send a Notification to a user, you must send a POST request to / apprequests . For the user, you will need a valid access_token , and this user must “install” your application before you can send them notifications like this, or use the Request dialog box . Subsequently, it is as simple as sending a POST:
https:
or
https:
The only required parameter to send is a "message", but you can also send a JSON-encoded parameter dictionary to the "data" parameter. I recommend you play with the Graph Explorer API . There you can send yourself apprequests using POST, check your pending with GET and clear pending requests with DELETE request for
https:
If you are developing a Facebook application (for example, a canvas application), you can use the Requests Dialog , which makes sending POST very easy and gives you a friends selector.
You can also receive pending user requests by sending a GET request to the same object.
source share