Clement
Clement

Reputation: 3

passing the signed_request in external website?

So heres the problem.

I do have the $_REQUEST['signed_request'] just after the login on facebook, which is great, but i would like to pass it to another page, so i can keep the authorization and information.

My application isnt a canvas page but an external website. Coded in PHP.

Any help?

Upvotes: 0

Views: 382

Answers (1)

Ibu
Ibu

Reputation: 43810

it depends on how long you want to save it for, if it's just for the time the user is on the page you can save it in your session variables:

session_start();
$_SESSION['signature'] = $_REQUEST['signed_request'];

now as long as you have a session you can retrieve this data, even if you navigate to different pages.

$variable = $_SESSION['signature'];

if you want more details, maybe you should show some of your code, and what you have so far

Upvotes: 1

Related Questions