Question

I want to send the facebook app request to preselected facebook friend. is it possible? right now i am following send request tutorial. In this it shows request and list of facebook friends. what i want is something like following imageenter image description here

any help is appreciated.

Was it helpful?

Solution

You can use the normal Request Dialog - link

You just have to provide the to parameter with the request, eg:

to=FRIEND1,FRIEND2,FRIEND3

Here's a direct URL, you can test first:

https://www.facebook.com/dialog/apprequests? app_id=YOUR_APP_ID& message=MyMessage& redirect_uri=LINK_TO_YOUR_APP&to=FRIEND1,FRIEND2,FRIEND3

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top