How wordpress authenticate with third party such as facebook?
i know wordpress will generate cookies to web browsers and web browsers send request with cookies, then wordpress knows the user has logged in.
I also know how to get user information through facebook api. Which url or method should i make in order to make wordpress generates cookies?
There is an option by creating hooks to the authenticate function in the pluggable.php.
Hope this slide would help you move in the right direction.