I am using Ultimate Facebook on a BuddyPress site. I would like for users to be able to see a list of their Facebook friends who are also registered on the site, so that they can befriend them through the site.
I am able to query the user's Facebook friends and find those who have authenticated the app, but how can I match those up with the existing WP users and return the results? Does the plugin store the user's FB ID when they authenticate? If so I could pretty easily query them that way. Or perhaps I am thinking about this all wrong. Any suggestions? Thanks!