Prakhar Agrawal
Prakhar Agrawal

Reputation: 1022

Pass facebook access token to server

my application is a basic php application. I use facebook authentication only for login purposes and have to store basic user information in the database after the user logs in. I also have to set the session variables in php after the user logs in. I plan to use Javascript SDK for the facebook authentication.

How can I pass the user information after the user has successfully logged in (i.e. "status=connected") for storage in the database and set the php session variable?

Any help is appreciated!

Upvotes: 0

Views: 135

Answers (1)

Prakhar Agrawal
Prakhar Agrawal

Reputation: 1022

facebook Js SDK sets a cookie in the client browser session that is to be used to get the client access token and other basic user information.

Upvotes: 1

Related Questions