php - Facebook sdk not returning approved data -
i have user_birthday approved when try query don't in results array.
try { $response = $fb->get('/me?fields=birthday,name', \session::get('fb_user_access_token')); } catch (facebooksdkexception $e) { \log::critical('error'); abort(403, 'bad request'); } $facebookuser = $response->getgraphuser(); dd($facebookuser->asarray());
i see user id , user name. same thing when try receive user photos getgraphedge. empty array.
Comments
Post a Comment