hello,
i have a question, can the oauth class be used to make a 2 way authentication with the facebook server?
i want to send the user credentials directly to the server and get back some basic information about the user.
is it possible?
Manuel Lemos - 2013-04-02 23:40:04 - In reply to message 1 from Deta Mihai
Yes, that is the purpose of OAuth.
The way it works is that first the user grants your application access to their profile and your application gets a token that is stored in the access_token class variable.
With that token you can send calls to Facebook API, even when the user is not present, to request whatever information you need.