I have an array of values returned from Facebook - let's call it $array
.
If I do print_r($array)
- it looks like this:
Array
(
[code] => 200
[headers] => Array
(
[0] => Array
(
[name] => Some value
[value] => *
)
[1] => Array
(
[name] => Some value
[value] => Some value
)
[2] => Array
(
[name] => Some value
[value] => Some value
)
)
[body] => {"about":"Some more values.","can_post":true}
)
I need to extract the body
part from this array.
I cannot refer to it by it's position, I'm looking for something like $array->body
and receive the {....}
string.