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 9108057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:43:09+00:00 2026-06-17T02:43:09+00:00

Following code is returning null statuses. FB.api(/me/statuses, function(response){ console.log(response); var statuses = $.parseJSON(response.data[0]); console.log(statuses);

  • 0

Following code is returning null statuses.

FB.api("/me/statuses", function(response){
                console.log(response); 
                var statuses = $.parseJSON(response.data[0]);
                console.log(statuses);
            });

But response object look like:

Object {data: Array[25], paging: Object}
data: Array[25]
0: Object
1: Object
2: Object
3: Object
4: Object
5: Object
6: Object
7: Object
8: Object
9: Object
10: Object
11: Object
12: Object
13: Object
14: Object
15: Object
16: Object
17: Object
18: Object
19: Object
20: Object
21: Object
22: Object
23: Object
24: Object
  • 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-17T02:43:12+00:00Added an answer on June 17, 2026 at 2:43 am

    The response is not a JSON string. Facebook SDK already parsed that to an Object.

    So you can use response.data without any parsing.

    https://developers.facebook.com/docs/reference/javascript/FB.api/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

[myDictionary objectForKey:kYourKey]; is returning NSString Object, but following code: if (![[myDictionary objectForKey:kYourKey] isEqualToString:@<null>]) {
I have the following code but the lon/lat seems to be returning null; package
The first ternary statement in the following code is returning null. myID is coming
I have the following code. var d3_ad = 1; function displayD3Ad(){ var query_string =
I am sending JSON object through following code.. Controller returning values in CSV format
The following code is returning an expression unused warning on the assignment operation in
I have the following code (calling a method returning IEnumerable): FibonacciWithLinq.Skip(delegate() { return 5;
Why does the following code seg fault before returning: int main() { char iD[20];
Consider the following code where I am returning double& and a string& . It
Following code: <%= render 'shared/error_messages', f.object %> where f.object is instance of a class

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.