Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7713269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:49:59+00:00 2026-06-01T01:49:59+00:00

How do I access the comments and display them? stdClass Object ( [stream] =>

  • 0

How do I access the comments and display them?

stdClass Object
(
[stream] => stdClass Object
    (
        [id] => 521734635_403433313001586
        [from] => stdClass Object
            (
                [name] => Jonathan Rosario
                [id] => 521734635
            )

        [message] => What if we do the same action in our country?...i just hope they be fair. Its just unfair that they also ban our Bibles while we never ban their Qu'rans in our country.
        [comments] => stdClass Object
            (
                [data] => Array
                    (
                        [0] => stdClass Object
                            (
                                [id] => 521734635_403433313001586_90696065
                                [from] => stdClass Object
                                    (
                                        [name] => ''
                                        [id] => 570761262
                                    )

                                [message] => test
                                [created_time] => 2012-03-29T10:01:49+0000
                            )

                        [1] => stdClass Object
                            (
                                [id] => 521734635_403433313001586_90696070
                                [from] => stdClass Object
                                    (
                                        [name] => Alwaynne Kevin
                                        [id] => 100000364267158
                                    )

                                [message] => Oo nga...bakit ganyan sila...hahah.!
                                [created_time] => 2012-03-29T10:07:52+0000
                            )

                        [2] => stdClass Object
                            (
                                [id] => 521734635_403433313001586_90696146
                                [from] => stdClass Object
                                    (
                                        [name] => Jp Peña
                                        [id] => 100000599584313
                                    )

                                [message] => they're just doing what the "christian" crusaders did to them.
                                [created_time] => 2012-03-29T10:33:12+0000
                            )

                    )

                [count] => 3
            )

        [picture] => http://external.ak.fbcdn.net/safe_image.php?d=AQCr7a57qDUU2MHR&w=90&h=90&url=http%3A%2F%2Fwww.interaksyon.com%2Fassets%2Fimages%2Farticles%2Finterphoto_1332546902.jpg
        [name] => Top Saudi cleric 'issues fatwa' on Christian churches; Bishops alarmed - InterAksyon.com
        [description] => Christian bishops are sharply criticizing Saudi Arabia's top religious official after reports that he issued a fatwa saying all churches on the Arabian Peninsula should be destroyed. At least 3.5 million Christians live in the Gulf Arab region. They are mostly Catholic workers from the Philippines a...
        [created_time] => 2012-03-29T10:00:41+0000
    )

)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:50:01+00:00Added an answer on June 1, 2026 at 1:50 am

    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);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Page with many Comments. Many users can access this page and
Update following initial comments The model has an object in it called 'Account', of
Hello I am using facebook graph api..and trying to display comments of each post..But
Trying to display structExcelResult[strUrl] created by the function on my .cfm page. <cffunction name=getBuyerReport
How to access and display the images that are located outside the application folder?
How to access the comments inside the XML document using XPath? For example: <table>
some comments preceding a mysql_connect statement are telling me to modify the values/variable name
My site is using the Facebook comments box plugin . I can access the
I have a Sharepoint site that is dynamically grabbing a name and description from
I have a query in Data Access Object DAOComments that joins users table and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.