jquery-facebook-multi-friend-selector
jquery-facebook-multi-friend-selector copied to clipboard
Server side friends data
Hello,
Great job on this tool. I really like the look at feel of the plugin. In my app, I already use the Koala gem and because I get 'offline_access' I can get the list of friends even if the user is not currently logged in into Facebook. Is there an easy way of replacing the call to Facebook with a json object representation of the id and name of friends?
Thank you,
I'm actually using a similar setup. I wrote a patch to call our web service instead of the FB API.
I just put our fork up on github, feel free to pull my code and use it in your project:
jquery-facebook-multi-friend-selector fork that uses jQuery AJAX call to populate friend list
Just pass in a URL to your JSON service in the jfmfs initialization. For example: $("#jfmfs-container").jfmfs( { "url": 'http://yourdomain.com/users/1/friends.json' });
Ideally, it should be configurable which method to use. Maybe I'll add that and send a pull request.
@jgerrish are you using this json:
http://developers.facebook.com/tools/explorer?method=GET&path=me%2Ffriends
?
+1 on merging this in trunk, I also would like to see this.