facebook - hybridauth: Invalid Scopes: read_stream -


i keep getting every facebook when hybridauth-2.5.1 when use code below.

invalid scopes: read_stream. message shown developers. users of app ignore these permissions if present. please read documentation valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions

$config   = dirname(__file__) . '/config.php'; require_once( "hybrid/auth.php" );   $hybridauth = new hybrid_auth( $config );  // try authenticate facebook $adapter = $hybridauth->authenticate( "facebook" );  // return hybrid_user_profile object intance  $user_profile = $adapter->getuserprofile();   echo "hi there! " . $user_profile->displayname; 

if has same problem solution

"facebook" => array(                 "enabled" => true,                 "keys" => array("id" => "162293657470362", "secret" =>                "109552243da7661c3a1c7bb90670c858"),                 "scope"   => "email, user_about_me, user_birthday, user_hometown",                 "trustforwarded" => false              ) 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -