how to print this php array? -


in facebook api, have array.

{ "id": "587967941220651",  "about": "",  "can_post": true, ... 

and printed array this.

$request = new facebookrequest( $session, 'get', '/page_name' ); $response = $request->execute(); // response $graphobject = $response->getgraphobject()->asarray(); // print profile data echo '<pre>' . print_r( $graphobject, 1 ) . '</pre>'; 

in web page, got results.

array ( [id] => 587967941220651 [about] => [can_post] => 1 ... 

and time, have kind of array.

{ "data": [ {   "id": "1444336682520148_1458726944414455",    "from": {     "id": "1444336682520148",      "name": "james"   },    "story": "james shared kevin's status update.",  

as see, there "data" in front. how can print kind of array? thank you.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -