You are here

function fbconnect_test_fb_session_submit in Facebook Connect 7.2

Same name and namespace in other branches
  1. 8.2 tests/fbconnect_test.module \fbconnect_test_fb_session_submit()
  2. 6.2 tests/fbconnect_test.module \fbconnect_test_fb_session_submit()

File

tests/fbconnect_test.module, line 63
FBConnect test environment configuration module.

Code

function fbconnect_test_fb_session_submit($form, &$form_state) {
  $session = array(
    'access_token' => $form_state['values']['access_token'],
  );
  $_SESSION['fbconnect_token'] = $session['access_token'];
}