How can we directly login to facebook with access token or if we have username and password.
Is there any script or Graph API method which allows to login directly.
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.
I assume the access token you’re referring to is the OAuth access token. OAuth’s spec states:
So having an access token doesn’t give you full access to the account, which is why you can’t use it to log in.
As for the user name and password, that’s exactly what you need in order to log in. To access the account dynamically, you need an HTTP client, such as RestClient (for Ruby) or HttpClient (for PHP) to send the request and receive the response.