php - Application whitelst -


i'm trying access photo albums of public group page. i'm using following code:

// create application instance $facebook = new facebook(array(   'appid'  => $appid,   'secret' => $appsecret ));  $facebook->setaccesstoken($token); print_r( $facebook->api($id . '/albums') ); 

…which produces error:

fatal error: uncaught oauthexception: (#3) app must on whitelist 

i've added ip server whitelist, hasn't solved anything. i'm confused why can access page's feed , other details not albums.

am doing wrong here?


Comments

Popular posts from this blog

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -