How do I get a person to connect to the website through the XFBML/JS then use the session/token with PHP SDK?
Right now we have
$this->facebook->getLoginUrl(array('scope' => 'email, user_location, publish_stream'))
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look at this site:
http://blog.mixu.net/2011/01/03/implementing-facebook-login-part-2/
You have to show a login button, which will redirect or refresh the page (with onLogin=”window.location = url.com”). After the user has logged in to your site via the login button and the page has been refreshed, you can fetch all necessary data with php.