this project help you can login facebook on desktop app use QtWebKit. Support all desktop platform.
This project require boost serialization library to parse JSON. You can use other library if don't want to use boost. To run this program. You need to set value for: your_app_id , your_app_secret , redirect_uri.