binbin4649 / bbm

0 stars 3 forks source link

facebook login fix. #26

Closed binbin4649 closed 10 years ago

binbin4649 commented 10 years ago

It does not become the login state. Header does not change.

TEST METHOD

1, Create New App https://developers.facebook.com/ keep default settings. set only "Valid OAuth redirect URIs = 192.168.33.10"

2, config/facebook.php edit App ID and App Secret

3, Try login Access http://192.168.33.10 press the login button. If successful, display the header changes.

Although successful in the environment of Ivan, Can not be reproduced in the environment of Hideichi.

binbin4649 commented 10 years ago

Cause is unknown, 1, to clean the work area with git clone, 2, Set as follows: config / facebook.php. Successful!

$config = array( 'Facebook' => array( 'appId' => '912897075390827', //'apiKey' => 'YOUR_API_KEY', 'secret' => 'e986e6e8ca62d7450ca3ed8339a51b01', 'cookie' => true, 'locale' => 'en_US', ) );

appid and secret is development.