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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:05:10+00:00 2026-06-03T13:05:10+00:00

I have a Facebook singleton and request this to get a profile picture: [[[FacebookScorer

  • 0

I have a Facebook singleton and request this to get a profile picture:

[[[FacebookScorer sharedInstance] facebook] requestWithGraphPath:@"me/picture?type=normal" andDelegate:self];

Now in facebooks delegate method didLoadRawResponce I actually receive the profile picture and can display, but in the didLoad:(id)result method the result is null!

I believe the didLoad method is called once the result has been parsed, so why do I not get anything back from it?

The reason I need to use didLoad, is I can ask it if the result isKindOfClass to see what it is, whereas didLoadRawResponce is also called when I logout, so how can I check what the data is?

–Edit
I have figured out how to differentiate between FBRequests, so this isn’t such a great problem anymore, however I still can’t understand why didLoad is being called but without any result.
Even using this gives triggers the slog, but with null

if (request == _profilePicRequest) {
    NSLog(@"result:%@",result);
}
  • 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-03T13:05:11+00:00Added an answer on June 3, 2026 at 1:05 pm

    This can be solved by getting the data from the request:

    - (void)request:(FBRequest *)request didLoad:(id)result{
    result = request.responseText;
    
    if ([result isKindOfClass:[NSData class]])
    {   
        ...
    }
    
    if ([result isKindOfClass:[NSDictionary class]])
    {
        ...
    }
    

    Not the most elegant solution, and I still don’t know why the result is nil. But it works.

    Hope this helps!

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

Sidebar

Related Questions

I am doing this in order to have Facebook like button in my page:
I have facebook java api. Using this how can I login if i have
I have integrated Facebook Like into my website.Now i need to get/list the count
I'm developing a PHP/MYSQL powered system, and have facebook, twitter and normal login. Each
I have Phonegap's Facebook plugin working perfectly within my Android app. This plugin uses
Suppose I have facebook apps, and its canvas url is http://localhost/app/ , and this
Facebook have a great TextboxList component. alt text http://img10.imageshack.us/img10/1803/textboxlistfacebook.png This has just been ported
I have used this method for logout facebook in app - (void)fbDidLogout { //
I have Facebook in an Iframe for the convenience of my clients. But all
I have facebook connect button on a page of my site and I want

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.