It's certainly possible that services are doing this on the backend, but it seems far easier to plug in Facebook's libraries in the frontend.