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

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -