how to access protected property response from facebook in facebook ads api – Facebook api
I am getting a protected object returned from the API call to Facebook Ads. $page = new Page($page_id); $leadgen_forms = $page->getLeadgenForms(); I am getting the response like this : FacebookAdsObjectPage ( [response:protected] => FacebookAdsHttpResponse Object ( [response:protected] => Array (…