[Solved] How to access object data and display the comments

[ad_1]

you got the whole list of objects in comments so give try following:

foreach( $yourObj->stream->comments as $comment){
   echo sprintf('%s: %s', $comment->from->name, $comment->message);
}

1

[ad_2]

solved How to access object data and display the comments