Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Václav Greif

    (@vasikgreif)

    Also, after I login with SC into WordPress, the getUser() function still returns 0. Is there any way that could be fixed?

    $config = array(
            'appId' => '12225',
            'secret' => '4f045612',
            'allowSignedRequest' => false // optional but should be set to false for non-canvas apps
        );
    $facebook = new Facebook($config);
    $user_id = $facebook->getUser();
    Thread Starter Václav Greif

    (@vasikgreif)

    I managed to make the getUser function work, but still I wasn’t able to get the extended access token. Anyoneo would know how to get it?

    Thanks

    Plugin Author Rodrigo Primo

    (@rodrigosprimo)

    Please check the discussion on the pull request below:

    https://github.com/rodrigoprimo/social-connect/pull/48

    We are using a old version of the Facebook library. Maybe updating to the newest version will fix your problem?

    If you give it a try please send a pull request.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Save access token (extended)’ is closed to new replies.