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
Post a Comment