php - Facebook Graph API requests on page events returns empty result array -
i created php script year ago, requests events facebook page, , still works fine- except 1 page , since recently.
$config = array(); $config[ 'appid' ] = '468554113184955'; $config[ 'secret' ] = 'app_secret'; $config[ 'fileupload' ] = false; // optional $facebook = new facebook( $config ); $res = $facebook->api( '/stadtpalais/events?fields=id,name,start_time,description,updated_time,picture.type(large)', 'get' );
i tried request app ending same result, think retrieving new app secret wouldn't help.
the script working appid
, secret
, without user login. try graph explorer app access token '468554113184955|app_secret' (use own id , secret) reproduce error. change page other page , work.
can page admins prevent these public requests through settings? (i haven't found 1 yet.) event title or description or whatever trigger error facebook sends empty array?
some time ago read facebook might force user login request events, since it's working fine other pages, i'd think hasn't happened yet?
thanks in advance!
i can answer own question: it's due page setting
age restrictions = alcohol-related
Comments
Post a Comment