Search code examples
facebook-graph-apifacebook-javascript-sdkfriend

Allow user to select friend(s) from a dialog that lists all of the user's friends, and post on their wall using Javascript Facebook SDK


I would like to have a button in my Facebook app that will bring up a dialog that will allow the user to pick a friend's wall to post on. I was pretty sure this kind of dialog exists but so fare I have only been able to find a dialog that will allow you to send messages to a friend or post to a specific Facebook user's wall (without a dialog) but I cannot find anywhere in the documentation where it describes how to bring up a dialog that allows selection of user's to publish to. Is this possible? If so could someone post a link to some documentation?


Solution

  • I ended up using the thesedays Facebook-friend-selector which works very nicely.

    It has a Facebook style look and feel and filled my needs:

    enter image description here

    https://github.com/thesedays/Facebook-friend-selector