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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:44:43+00:00 2026-05-15T02:44:43+00:00

hello all i want to retrieve my all the wall post that i have

  • 0

hello all i want to retrieve my all the wall post that i have posted until now i am using this fql query from my native iphone application in order to fetch it but i think i am maiking some mistake please guide me how could i do that the following is my fql query to get wall post

- (void)session:(FBSession*)session didLogin:(FBUID)uid {

    NSString *fql = [NSString stringWithFormat:@"SELECT comments, likes FROM stream WHERE post_id=100000182297319"];



    NSLog(@"session key is %@",_session.sessionKey);

    NSLog(@"from global key is %@",[twitfacedemoAppDelegate getfacebookkey]);

    NSDictionary* params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];



    [[FBRequest requestWithDelegate:self] call:@"facebook.fql.query" params:params];

this is my other delgate method to get the wall post but this code is not working

- (void)request:(FBRequest*)request didLoad:(id)result {
    @try
    {
        NSLog(@"result is %@",result);

        if(result==nil)
        {
            UIAlertView *a=[[UIAlertView alloc]initWithTitle:@"Can't login" message:@"You cant login here." delegate:nil cancelButtonTitle:@"ok" otherButtonTitles:nil];
            [a show];
            [a release];
        }
        else
        {
            NSArray* users = result;
            NSDictionary* user = [users objectAtIndex:0];


            NSString* name = [[NSString alloc]initWithString:[user objectForKey:@"name"]];
            NSLog(@"name is %@",name);

            _label.text = [NSString stringWithFormat:@"Logged in as %@", name];

            NSString *globalfacebookname;
            globalfacebookname=[[NSString alloc]initWithString:name];



            NSLog(@"value is %@",globalfacebookname);

            NSString *fid=[user objectForKey:@"uid"];
            NSLog(@"FACEBOOK ID WITH STRING DATATYP %@",fid);
            [twitfacedemoAppDelegate fetchfacebookid:fid];
        }
    }
    @catch (NSException * e) 
    {
        NSLog(@"Problem in dialog didFailWithError:%@",e);
    }

}

please guide me how could i retrieve my all the post from facebook to my native iphone application through fql query

thanks in advance

  • 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-05-15T02:44:44+00:00Added an answer on May 15, 2026 at 2:44 am

    Maybe I’m retarded but I tried this and I always get an empty NSArray back. I am substituting my source_id with my uid obviously with %lld and before I request this I am successfully getting my full name from my profile (so I must be authenticated). This is the exact query I’m using: SELECT actor_id, message FROM stream WHERE source_id = 610611343 limit 50

    Do I have to request permissions first or something? Help would be greatly appreciated because I’ve been going for hours on this and want to pull my hair out. I wish an error code at least would come back – but its always just nothing.

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

Sidebar

Related Questions

hello i am little new to all this but i want to know that:
Hello all I am working in javascript and html5.I want to ask that how
hello all i have my splash screen which i want to show in landscape
Hello all i have a simple problem i have a alertDialog and i want
Hello All , I have been using ShareKit for almost all the stuffs regarding
Hello all I'm using NSXMLParser to parse some xml data. I'm using this data
Hello all I am using webdriver so if I want to use selenium;s rc
Hello , im using the following code to Retrieve the DOM from URL all
I want to retrieve all case-insensitive duplicate entries from an array. Is this possible
Hello all I have some very important system files which I want to protect

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.